# 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.
# Interfaces
No description provided by the author
# Type aliases
Option is a generic options type.