pub struct AdvancedConfig {
pub custom_checkpoints: Vec<u64>,
pub max_reorg_depth: u64,
pub strict_mode: bool,
pub max_block_size_override: usize,
pub enable_rbf: bool,
}Expand description
Advanced configuration options
Advanced settings for power users and specific use cases. These options provide fine-grained control over behavior.
Fields§
§custom_checkpoints: Vec<u64>Custom checkpoint heights (additional to assume-valid) Format: comma-separated list of block heights Example: “100000,200000,300000” Default: empty (no custom checkpoints)
max_reorg_depth: u64Maximum depth for chain reorganization (safety limit) Prevents extremely deep reorganizations that could be DoS attacks Default: 100 blocks
strict_mode: boolEnable strict mode (reject any non-standard transactions) Default: false (accept standard transactions)
max_block_size_override: usizeMaximum block size to accept (override consensus limit for testing) Default: 0 (use consensus limit) WARNING: Setting this may cause consensus divergence
enable_rbf: boolEnable transaction replacement (RBF) by default Default: true
Trait Implementations§
Source§impl Clone for AdvancedConfig
impl Clone for AdvancedConfig
Source§fn clone(&self) -> AdvancedConfig
fn clone(&self) -> AdvancedConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more