# Functions
No description provided by the author
FromProto sets a protobuf BlockID to the given pointer.
No description provided by the author
CanonicalizeVote transforms the given PartSetHeader to a CanonicalPartSetHeader.
CanonicalizeVote transforms the given Vote to a CanonicalVote, which does not contain ValidatorIndex and ValidatorAddress fields.
No description provided by the author
MsgFromProto takes a consensus proto message and returns the native go type.
No description provided by the author
FromProto sets a protobuf PartSetHeader to the given pointer.
FromProto sets a protobuf Proposal to the given pointer.
No description provided by the author
RunSpamFilter serves as the entry point for a TM Core handler when serving as a spamfilter.
No description provided by the author
FromProto converts a proto generetad type to a handwritten type return type, nil if everything converts safely, otherwise nil, error.
No description provided by the author
# Variables
No description provided by the author
ServicedTMCore is a string associated with each TM core handler to decipher which handler is to be attached.
# Structs
-------------------------------------.
BlockPartMessage is sent when gossipping a piece of the proposed block.
HasVoteMessage is sent to indicate that a particular vote has been received.
NewRoundStepMessage is sent for every step taken in the ConsensusState.
NewValidBlockMessage is sent when a validator observes a valid block B in some round r, i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r.
No description provided by the author
-------------------------------------.
-------------------------------------.
No description provided by the author
ProposalMessage is sent when a new block is proposed.
ProposalPOLMessage is sent when a previous proposal is re-proposed.
No description provided by the author
No description provided by the author
-------------------------------------.
VoteMessage is sent when voting for a proposal (or lack thereof).
VoteSetBitsMessage is sent to communicate the bit-array of votes seen for the BlockID.
VoteSetMaj23Message is sent to indicate that a given BlockID has seen +2/3 votes.
# Interfaces
Message is a message that can be sent and received on the Reactor.