Struct solana_runtime::commitment::BlockCommitmentCache [−][src]
pub struct BlockCommitmentCache { /* fields omitted */ }
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V