Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageContainer ¶
type MessageContainer interface { // ReadOnlyMessagesByRound returns messages by the given round ReadOnlyMessagesByRound(round uint64) []*proto.SignedMessage // QuorumAchieved returns true if enough msgs were received (round, value) QuorumAchieved(round uint64, value []byte) (bool, []*proto.SignedMessage) PartialChangeRoundQuorum(stateRound uint64) (found bool, lowestChangeRound uint64) // AddMessage adds the given message to the container AddMessage(msg *proto.SignedMessage) // OverrideMessages will override all current msgs in container with the provided msg OverrideMessages(msg *proto.SignedMessage) }
MessageContainer represents the behavior of the message container
Click to show internal directories.
Click to hide internal directories.