Expand description
Consensus runtime configuration from blvm-consensus (distinct from this crate’s config module).
Structs§
- Advanced
Config - Advanced configuration options
- Block
Validation Config - Block validation configuration
- Consensus
Config - Complete consensus configuration
- Debug
Config - Debug and development configuration
- Feature
Flags Config - Feature flags configuration
- Mempool
Config - Mempool configuration
- Network
Message Limits - Network message size limits configuration
- Performance
Config - Performance and optimization configuration
- Utxo
Commitment Config - UTXO Commitment configuration
Functions§
- get_
assume_ valid_ hash - Assume-valid block hash. When set, block at assume_valid_height must match.
- get_
assume_ valid_ height - Benchmarking: set_assume_valid_height() overrides when feature enabled.
- get_
consensus_ config - Get global consensus configuration (cached; clone for compatibility).
- get_
consensus_ config_ ref - Get global consensus configuration by reference (cached; no clone).
- get_
n_ minimum_ chain_ work - Minimum chain work. Skip only when best_header_chainwork >= this.
- init_
consensus_ config - Initialize global consensus configuration (optional, for tests or future node use).
- init_
rayon_ for_ script_ verification - Initialize Rayon thread pool for script verification.
- reset_
assume_ valid_ height - Reset assume-valid override (benchmarking).
- set_
assume_ valid_ height - Set assume-valid height for benchmarking (overrides config).
- use_
overlay_ delta - Use overlay delta for UTXO merge instead of sync_block_to_batch. Always enabled. connect_block_ibd returns UtxoDelta for the node to apply to pending_writes without re-walking the block.