massa_final_state/
config.rs1use massa_async_pool::AsyncPoolConfig;
6use massa_deferred_calls::config::DeferredCallsConfig;
7use massa_executed_ops::{ExecutedDenunciationsConfig, ExecutedOpsConfig};
8use massa_ledger_exports::LedgerConfig;
9use massa_pos_exports::PoSConfig;
10use massa_time::MassaTime;
11use std::path::PathBuf;
12
13#[derive(Debug, Clone)]
15pub struct FinalStateConfig {
16 pub ledger_config: LedgerConfig,
18 pub async_pool_config: AsyncPoolConfig,
20 pub deferred_calls_config: DeferredCallsConfig,
22 pub pos_config: PoSConfig,
24 pub executed_ops_config: ExecutedOpsConfig,
26 pub executed_denunciations_config: ExecutedDenunciationsConfig,
28 pub final_history_length: usize,
30 pub thread_count: u8,
32 pub periods_per_cycle: u64,
34 pub initial_seed_string: String,
36 pub initial_rolls_path: PathBuf,
38 pub endorsement_count: u32,
40 pub max_executed_denunciations_length: u64,
42 pub max_denunciations_per_block_header: u32,
45 pub t0: MassaTime,
47 pub genesis_timestamp: MassaTime,
49 pub ledger_backup_periods_interval: u64,
51}