fuel_core_consensus_module/
lib.rs#![deny(clippy::arithmetic_side_effects)]
#![deny(clippy::cast_possible_truncation)]
#![deny(unused_crate_dependencies)]
#![deny(missing_docs)]
#![deny(warnings)]
use core::time::Duration;
use fuel_core_types::blockchain::primitives::DaBlockHeight;
pub mod block_verifier;
#[derive(Clone, Debug)]
pub struct RelayerConsensusConfig {
pub max_da_lag: DaBlockHeight,
pub max_wait_time: Duration,
}
impl Default for RelayerConsensusConfig {
fn default() -> Self {
Self {
max_da_lag: 10u64.into(),
max_wait_time: Duration::from_secs(30),
}
}
}