pub struct BlockCommitmentCache { /* private fields */ }
Expand description
A node’s view of cluster commitment as per a particular bank
Implementations
pub fn new(
block_commitment: HashMap<Slot, BlockCommitment>,
total_stake: u64,
commitment_slots: CommitmentSlots
) -> Self
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BlockCommitmentCache
impl Send for BlockCommitmentCache
impl Sync for BlockCommitmentCache
impl Unpin for BlockCommitmentCache
impl UnwindSafe for BlockCommitmentCache
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more