package
0.0.0-20230816035547-f94ef0f6cb83
Repository: https://github.com/digitallabs-web3/neo-go-evm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New returns new DBFT instance with provided options and nil if some of the options are missing or invalid.
NewBlockFromContext returns new block filled with given contexet.
WithBroadcast sets Broadcast.
WithCurrentBlockHash sets CurrentBlockHash.
WithCurrentHeight sets CurrentHeight.
WithGetBlock sets GetBlock.
WithGetConsensusAddress sets GetConsensusAddress.
WithGetKeyPair sets GetKeyPair.
WithGetTx sets GetTx.
WithGetValidators sets GetValidators.
WithGetVerified sets GetVerified.
WithKeyPair sets GetKeyPair to a function returning default key pair if it is present in a list of validators.
WithLogger sets Logger.
WithNewBlockFromContext sets NewBlockFromContext.
WithNewChangeView sets NewChangeView.
WithNewCommit sets NewCommit.
WithNewConsensusPayload sets NewConsensusPayload.
WithNewPrepareRequest sets NewPrepareRequest.
WithNewPrepareResponse sets NewPrepareResponse.
WithNewRecoveryMessage sets NewRecoveryMessage.
WithNewRecoveryRequest sets NewRecoveryRequest.
WithProcessBlock sets ProcessBlock.
WithRequestTx sets RequestTx.
WithSecondsPerBlock sets SecondsPerBlock.
WithTimer sets Timer.
WithTimestampIncrement sets TimestampIncrement.
WithVerifyBlock sets VerifyBlock.
WithVerifyPrepareRequest sets VerifyPrepareRequest.
WithVerifyPrepareResponse sets VerifyPrepareResponse.
WithWatchOnly sets WatchOnly.

# Structs

Config contains initialization and working parameters for dBFT.
Context is a main dBFT structure which contains all information needed for performing transitions.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Option is a generic options type.