package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev
# Functions
NewDecider ..
NewRegistry ..
NewVerifier creates the quorum verifier for the given committee, epoch and whether the scenario is staking.
# Constants
Commit ..
Prepare ..
SuperMajorityStake is 2/3s of total staked amount for epoch.
SuperMajorityVote is a 2/3s voting mechanism, pre-PoS.
ViewChange ..
# Structs
Registry ..
TallyResult is the result of when we calculate voting power, recall that it happens to us at epoch change.
Transition ..
VoteTally is the vote tally for each phase.
# Interfaces
Decider ..
DependencyInjectionReader ..
DependencyInjectionWriter ..
ParticipantTracker ..
SignatoryTracker ..
SignatureReader ..
Verifier is the interface to verify the whether the quorum is achieved by mask at each epoch.