package
0.0.0-20240904134818-08f901de4bfb
Repository: https://github.com/dharitrione/drt-chain-go.git
Documentation: pkg.go.dev
# Functions
NewConsensusService creates a new worker object.
NewSubroundBlock creates a subroundBlock object.
NewSubroundEndRound creates a subroundEndRound object.
NewSubroundsFactory creates a new consensusState object.
NewSubroundSignature creates a subroundSignature object.
NewSubroundStartRound creates a subroundStartRound object.
# Constants
BlockBodyAndHeaderStringValue represents the string to be used to identify a block body and a block header.
BlockBodyStringValue represents the string to be used to identify a block body.
BlockDefaultStringValue represents the message to identify a message that is undefined.
BlockHeaderFinalInfoStringValue represents the string to be used to identify a block's header final info.
BlockHeaderStringValue represents the string to be used to identify a block header.
BlockSignatureStringValue represents the string to be used to identify a block's signature.
BlockUnknownStringValue represents the string to be used to identify an unknown block.
MtBlockBody defines ID of a message that has a block body inside.
MtBlockBodyAndHeader defines ID of a message that has a block body and a block header inside.
MtBlockHeader defines ID of a message that has a block header inside.
MtBlockHeaderFinalInfo defines ID of a message that has a block header final info inside (aggregate signature, bitmap and seal leader signature for the proposed and accepted header).
MtInvalidSigners defines ID of a message that has a invalid signers p2p messages inside.
MtSignature defines ID of a message that has a Signature inside.
MtUnknown defines ID of a message that has unknown data inside.
SrBlock defines ID of Subround "block".
SrEndRound defines ID of Subround "End round".
SrSignature defines ID of Subround "signature".
SrStartRound defines ID of Subround "Start round".
# Variables
ErrNilSentSignatureTracker defines the error for setting a nil SentSignatureTracker.