Struct fuel_core_consensus_module::block_verifier::config::Config
source · pub struct Config {
pub chain_config: ChainConfig,
pub relayer: RelayerVerifierConfig,
}Expand description
The config of the block verifier.
Fields§
§chain_config: ChainConfigThe chain configuration.
relayer: RelayerVerifierConfigConfig for settings the verifier needs that are related to the relayer.
Implementations§
source§impl Config
impl Config
sourcepub fn new(chain_config: ChainConfig, relayer: RelayerVerifierConfig) -> Self
pub fn new(chain_config: ChainConfig, relayer: RelayerVerifierConfig) -> Self
Creates the verifier config for all possible consensuses.
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more