Expand description
Functions that determine what roles a replica should play at any given View and Validator Set State.
FunctionsΒ§
- is_
phase_ πvoter Determine whether or notreplicashould phase-vote for theProposalorNudgethatjustifywas taken from. This depends on whetherreplicaβsPhaseVotes can become part of quorum certificates that directly extendjustify. - is_
proposer πDetermine whethervalidatorshould act as a proposer in the givenview, given the currentvalidator_set_state. - is_
validator πDetermine whether thereplicais an βactiveβ validator, given the currentvalidator_set_state. - new_
view_ πrecipients Identify the leader(s) thatnew_viewshould be sent to, given the currentvalidator_set_state. - phase_
vote_ πrecipient Identify the leader thatphase_voteshould be sent to, given the currentvalidator_set_state.