kona_node_service/actors/sequencer/config.rs
1//! Configuration for the [`SequencerActor`].
2//!
3//! [`SequencerActor`]: super::SequencerActor
4
5use url::Url;
6
7/// Configuration for the [`SequencerActor`].
8///
9/// [`SequencerActor`]: super::SequencerActor
10#[derive(Default, Debug, Clone, PartialEq, Eq)]
11pub struct SequencerConfig {
12 /// Whether or not the sequencer is enabled at startup.
13 pub sequencer_stopped: bool,
14 /// Whether or not the sequencer is in recovery mode.
15 pub sequencer_recovery_mode: bool,
16 /// The [`Url`] for the conductor RPC endpoint. If [`Some`], enables the conductor service.
17 pub conductor_rpc_url: Option<Url>,
18 /// The confirmation delay for the sequencer.
19 pub l1_conf_delay: u64,
20}