Module hotshot_types::vote
source · Expand description
Vote, Accumulator, and Certificate Types
Structs§
- Accumulates votes until a certificate is formed. This implementation works for all simple vote and certificate pairs
Traits§
- The certificate formed from the collection of signatures a committee. The committee is defined by the
Membership
associated type. The votes all must be over theCommitment
associated type. - Any type that is associated with a view
- A simple vote that has a signer and commitment to the data voted on.
Type Aliases§
- Mapping of vote commitment to signatures and bitvec
- Vote
Map2 🔒Mapping of commitments to vote tokens by key.