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: Consensus

Loaded 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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.