sgns::ConsensusManager::ProposalState¶
Runtime state tracked for one proposal.
Public Attributes¶
| Name | |
|---|---|
| Proposal | proposal Proposal currently tracked. |
| std::vector< Vote > | votes Votes accepted for the proposal. |
| std::string | slot_key Slot key grouping competing proposals. |
| uint64_t | total_weight Total eligible weight for tally. |
| uint64_t | approved_weight Approved weight accumulated so far. |
| std::unordered_set< std::string > | seen_voters Voter ids already counted. |
| bool | quorum_reached Whether quorum has been reached. |
| uint64_t | quorum_reached_ts_ms Timestamp when quorum was reached. |
| uint64_t | last_attempt_round Last certificate-attempt round. |
Public Attributes Documentation¶
variable proposal¶
Proposal currently tracked.
variable votes¶
Votes accepted for the proposal.
variable slot_key¶
Slot key grouping competing proposals.
variable total_weight¶
Total eligible weight for tally.
variable approved_weight¶
Approved weight accumulated so far.
variable seen_voters¶
Voter ids already counted.
variable quorum_reached¶
Whether quorum has been reached.
variable quorum_reached_ts_ms¶
Timestamp when quorum was reached.
variable last_attempt_round¶
Last certificate-attempt round.
Updated on 2026-06-05 at 17:22:18 -0700