penumbra_stake::component::stake

Trait ConsensusUpdateRead

Source
pub trait ConsensusUpdateRead: StateRead {
    // Provided method
    fn cometbft_validator_updates(&self) -> Option<Vec<Update>> { ... }
}
Available on crate feature component only.

Provided Methods§

Source

fn cometbft_validator_updates(&self) -> Option<Vec<Update>>

Returns a list of validator updates to send to Tendermint.

Set during end_block.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§