pub type StaticCommittee<T> = GeneralStaticCommittee<T, BLSPubKey>;
Expand description

static committee using a vrf kp

Aliased Type§

struct StaticCommittee<T> {
    all_nodes_with_stake: Vec<StakeTableEntry<VerKey>>,
    committee_nodes_with_stake: Vec<StakeTableEntry<VerKey>>,
    committee_nodes_without_stake: Vec<VerKey>,
    fixed_leader_for_gpuvid: usize,
    _type_phantom: PhantomData<T>,
}

Fields§

§all_nodes_with_stake: Vec<StakeTableEntry<VerKey>>

All the nodes participating and their stake

§committee_nodes_with_stake: Vec<StakeTableEntry<VerKey>>

The nodes on the static committee and their stake

§committee_nodes_without_stake: Vec<VerKey>

builder nodes

§fixed_leader_for_gpuvid: usize

the number of fixed leader for gpuvid

§_type_phantom: PhantomData<T>

Node type phantom