Struct ckb_app_config::RunArgs
source · 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,
pub indexer: bool,
pub daemon: bool,
}
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
indexer: bool
Whether start indexer, default false
daemon: bool
Whether start in daemon mode
Auto Trait Implementations§
impl RefUnwindSafe for RunArgs
impl Send for RunArgs
impl Sync for RunArgs
impl Unpin for RunArgs
impl UnwindSafe for RunArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more