Struct ckb_app_config::StatsArgs [−][src]
pub struct StatsArgs {
pub config: Box<CKBAppConfig>,
pub consensus: Consensus,
pub from: Option<u64>,
pub to: Option<u64>,
}Expand description
Parsed command line arguments for ckb stats.
Fields
config: Box<CKBAppConfig>Parsed ckb.toml.
consensus: ConsensusLoaded consensus.
from: Option<u64>Specifies the starting block number. The default is 1.
to: Option<u64>Specifies the ending block number. The default is the tip block in the database.