pub trait Ballot {
type Signer;
// Required methods
fn view(&self) -> ViewNumber;
fn epoch(&self) -> Option<EpochNumber>;
fn signer(&self) -> Self::Signer;
}Expand description
Information about a vote.
Used by VoteCollector to handle incoming votes, i.e. reject
duplicate votes by the same signer, or stale votes for GCed views,
before even tallying the vote.