Struct ckb_app_config::RunArgs[][src]

pub struct RunArgs {
    pub config: Box<CKBAppConfig>,
    pub consensus: Consensus,
    pub block_assembler_advanced: bool,
    pub skip_chain_spec_check: bool,
    pub overwrite_chain_spec: bool,
    pub chain_spec_hash: Byte32,
}
Expand description

Parsed command line arguments for ckb run.

Fields

config: Box<CKBAppConfig>

Parsed ckb.toml.

consensus: Consensus

Loaded consensus.

block_assembler_advanced: bool

Whether allow advanced block assembler options.

skip_chain_spec_check: bool

Whether skip chain spec hash check

overwrite_chain_spec: bool

Whether overwrite the chain spec hash in the database with RunArgs::chain_spec_hash

chain_spec_hash: Byte32

Hash of serialized configured chain spec

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.