Module paxakos::voting [−][src]
Expand description
The paxakos consensus protocol has nodes elect leaders and vote on
proposals. Nodes will always vote ‘no’, if voting ‘yes’ would compromise
correctness. In all other cases, nodes will vote using their Voter
strategy. The default strategy, IndiscriminateVoter
always votes ‘yes’.
Structs
A voter that always votes Yea
.
Enums
Voting decision, either Yea
, Nay
or Abstain
.
Traits
Strategy to vote on candidates and proposals.
Type Definitions
Shorthand to extract Abstain
type out of V
.
Shorthand to extract CoordNum
type out of V
.
Shorthand to extract Nay
type out of V
.
Shorthand to extract RoundNum
type out of V
.
Shorthand to extract State
type out of V
.
Shorthand to extract Yea
type out of V
.