Skip to content

sgns::ConsensusManager::SlotState

Runtime slot arbitration state.

Public Attributes

Name
std::string best_proposal_id
Current best proposal id in the slot.
std::string best_tx_hash
Hash used for deterministic tie-breaking.
bool voted
Whether local vote has already been cast for the slot.

Public Attributes Documentation

variable best_proposal_id

std::string best_proposal_id;

Current best proposal id in the slot.

variable best_tx_hash

std::string best_tx_hash;

Hash used for deterministic tie-breaking.

variable voted

bool voted = false;

Whether local vote has already been cast for the slot.


Updated on 2026-06-05 at 17:22:18 -0700