Modules

  • Nested message and enum types in Message.
  • Nested message and enum types in WALMessage.

Structs

  • BlockPart is sent when gossipping a piece of the proposed block.
  • EndHeight marks the end of the given height inside WAL. @internal used by scripts/wal2json util.
  • HasVote is sent to indicate that a particular vote has been received.
  • MsgInfo are msgs from the reactor which may update the state
  • NewRoundStep is sent for every step taken in the ConsensusState. For every height/round/step transition
  • NewValidBlock 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. In case the block is also committed, then IsCommit flag is set to true.
  • Proposal is sent when a new block is proposed.
  • ProposalPOL is sent when a previous proposal is re-proposed.
  • TimedWALMessage wraps WALMessage and adds Time for debugging purposes.
  • TimeoutInfo internally generated messages which may update the state
  • Vote is sent when voting for a proposal (or lack thereof).
  • VoteSetBits is sent to communicate the bit-array of votes seen for the BlockID.
  • VoteSetMaj23 is sent to indicate that a given BlockID has seen +2/3 votes.