apollo_config 0.19.0-rc.2

A library for handling node configuration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

/// Behavior mode - determines which features and operational behaviors are enabled.
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq, Eq)]
#[serde(rename_all = "lowercase")]
pub enum BehaviorMode {
    /// Production mode - standard Starknet behavior.
    #[default]
    Starknet,
    /// Echonet mode - test/replay mode with special features:
    /// - Uses original block timestamps instead of system clock
    /// - Uses FIFO transaction queue instead of fee-based priority
    Echonet,
}