Skip to main content

UpgradeTally

Type Alias UpgradeTally 

Source
pub type UpgradeTally<T> = SimpleTally<T, UpgradeVote2<T>, UpgradeThreshold>;
Expand description

Accumulates UpgradeVote2s into an UpgradeCertificate2, under the epoch the votes bind.

Aliased Type§

pub struct UpgradeTally<T> {
    accumulator: CheckedAccumulator<T, SimpleVote<T, UpgradeProposalData2>, UpgradeThreshold>,
}

Fields§

§accumulator: CheckedAccumulator<T, SimpleVote<T, UpgradeProposalData2>, UpgradeThreshold>