pub type StaticCommittee<T> = StaticCommitteeLeaderForTwoViews<T>;
Expand description

static committee using a vrf kp

Aliased Type§

struct StaticCommittee<T> {
    eligible_leaders: Vec<<<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>,
    stake_table: Vec<<<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>,
    indexed_stake_table: BTreeMap<<T as NodeType>::SignatureKey, <<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>,
    committee_topic: Topic,
}

Fields§

§eligible_leaders: Vec<<<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>

The nodes eligible for leadership. NOTE: This is currently a hack because the DA leader needs to be the quorum leader but without voting rights.

§stake_table: Vec<<<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>

The nodes on the committee and their stake

§indexed_stake_table: BTreeMap<<T as NodeType>::SignatureKey, <<T as NodeType>::SignatureKey as SignatureKey>::StakeTableEntry>

The nodes on the committee and their stake, indexed by public key

§committee_topic: Topic

The network topic of the committee