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
) -> SelfTrait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BlockCommitmentCacheimpl Send for BlockCommitmentCacheimpl Sync for BlockCommitmentCacheimpl Unpin for BlockCommitmentCacheimpl UnwindSafe for BlockCommitmentCacheBlanket 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 = TShould always be Self
pub fn vzip(self) -> V