Struct openethereum::cli::Args
source · [−]pub struct Args {Show 185 fields
pub cmd_daemon: bool,
pub arg_daemon_pid_file: Option<String>,
pub cmd_account: bool,
pub cmd_account_new: bool,
pub cmd_account_list: bool,
pub cmd_account_import: bool,
pub arg_account_import_path: Option<Vec<String>>,
pub cmd_wallet: bool,
pub cmd_wallet_import: bool,
pub arg_wallet_import_path: Option<String>,
pub cmd_import: bool,
pub arg_import_format: Option<String>,
pub arg_import_file: Option<String>,
pub cmd_export: bool,
pub cmd_export_blocks: bool,
pub arg_export_blocks_format: Option<String>,
pub arg_export_blocks_from: String,
pub arg_export_blocks_to: String,
pub arg_export_blocks_file: Option<String>,
pub cmd_export_state: bool,
pub flag_export_state_no_storage: bool,
pub flag_export_state_no_code: bool,
pub arg_export_state_min_balance: Option<String>,
pub arg_export_state_max_balance: Option<String>,
pub arg_export_state_at: String,
pub arg_export_state_format: Option<String>,
pub arg_export_state_file: Option<String>,
pub cmd_signer: bool,
pub cmd_signer_new_token: bool,
pub cmd_signer_list: bool,
pub cmd_signer_sign: bool,
pub arg_signer_sign_id: Option<usize>,
pub cmd_signer_reject: bool,
pub arg_signer_reject_id: Option<usize>,
pub cmd_snapshot: bool,
pub arg_snapshot_at: String,
pub arg_snapshot_file: Option<String>,
pub cmd_restore: bool,
pub arg_restore_file: Option<String>,
pub cmd_tools: bool,
pub cmd_tools_hash: bool,
pub arg_tools_hash_file: Option<String>,
pub cmd_db: bool,
pub cmd_db_kill: bool,
pub cmd_db_reset: bool,
pub arg_db_reset_num: u32,
pub arg_mode: String,
pub arg_mode_timeout: u64,
pub arg_mode_alarm: u64,
pub arg_chain: String,
pub arg_keys_path: String,
pub arg_identity: String,
pub arg_base_path: Option<String>,
pub arg_db_path: Option<String>,
pub flag_unsafe_expose: bool,
pub arg_config: String,
pub arg_ports_shift: u16,
pub flag_fast_unlock: bool,
pub arg_keys_iterations: u32,
pub arg_accounts_refresh: u64,
pub arg_unlock: Option<String>,
pub arg_password: Vec<String>,
pub arg_ui_path: String,
pub flag_no_warp: bool,
pub flag_no_discovery: bool,
pub flag_reserved_only: bool,
pub flag_no_ancient_blocks: bool,
pub arg_warp_barrier: Option<u64>,
pub arg_port: u16,
pub arg_interface: String,
pub arg_min_peers: Option<u16>,
pub arg_max_peers: Option<u16>,
pub arg_snapshot_peers: u16,
pub arg_nat: String,
pub arg_allow_ips: String,
pub arg_max_pending_peers: u16,
pub arg_network_id: Option<u64>,
pub arg_bootnodes: Option<String>,
pub arg_node_key: Option<String>,
pub arg_reserved_peers: Option<String>,
pub flag_jsonrpc_allow_missing_blocks: bool,
pub flag_no_jsonrpc: bool,
pub flag_jsonrpc_no_keep_alive: bool,
pub flag_jsonrpc_experimental: bool,
pub arg_jsonrpc_port: u16,
pub arg_jsonrpc_interface: String,
pub arg_jsonrpc_apis: String,
pub arg_jsonrpc_hosts: String,
pub arg_jsonrpc_threads: usize,
pub arg_jsonrpc_cors: String,
pub arg_jsonrpc_server_threads: Option<usize>,
pub arg_jsonrpc_max_payload: Option<usize>,
pub arg_poll_lifetime: u32,
pub flag_no_ws: bool,
pub arg_ws_port: u16,
pub arg_ws_interface: String,
pub arg_ws_apis: String,
pub arg_ws_origins: String,
pub arg_ws_hosts: String,
pub arg_ws_max_connections: usize,
pub arg_ws_max_payload: usize,
pub flag_metrics: bool,
pub arg_metrics_prefix: String,
pub arg_metrics_port: u16,
pub arg_metrics_interface: String,
pub flag_no_ipc: bool,
pub arg_ipc_path: String,
pub arg_ipc_apis: String,
pub flag_no_secretstore: bool,
pub flag_no_secretstore_http: bool,
pub flag_no_secretstore_auto_migrate: bool,
pub arg_secretstore_acl_contract: Option<String>,
pub arg_secretstore_contract: Option<String>,
pub arg_secretstore_srv_gen_contract: Option<String>,
pub arg_secretstore_srv_retr_contract: Option<String>,
pub arg_secretstore_doc_store_contract: Option<String>,
pub arg_secretstore_doc_sretr_contract: Option<String>,
pub arg_secretstore_nodes: String,
pub arg_secretstore_server_set_contract: Option<String>,
pub arg_secretstore_interface: String,
pub arg_secretstore_port: u16,
pub arg_secretstore_http_interface: String,
pub arg_secretstore_http_port: u16,
pub arg_secretstore_path: String,
pub arg_secretstore_secret: Option<String>,
pub arg_secretstore_admin_public: Option<String>,
pub flag_force_sealing: bool,
pub flag_reseal_on_uncle: bool,
pub flag_remove_solved: bool,
pub flag_tx_queue_no_unfamiliar_locals: bool,
pub flag_tx_queue_no_early_reject: bool,
pub flag_refuse_service_transactions: bool,
pub flag_infinite_pending_block: bool,
pub flag_no_persistent_txqueue: bool,
pub flag_stratum: bool,
pub arg_reseal_on_txs: String,
pub arg_reseal_min_period: u64,
pub arg_reseal_max_period: u64,
pub arg_work_queue_size: usize,
pub arg_relay_set: String,
pub arg_usd_per_tx: String,
pub arg_usd_per_eth: String,
pub arg_price_update_period: String,
pub arg_gas_floor_target: String,
pub arg_gas_cap: String,
pub arg_tx_queue_mem_limit: u32,
pub arg_tx_queue_size: usize,
pub arg_tx_queue_per_sender: Option<usize>,
pub arg_tx_queue_locals: Option<String>,
pub arg_tx_queue_strategy: String,
pub arg_stratum_interface: String,
pub arg_stratum_port: u16,
pub arg_min_gas_price: Option<u64>,
pub arg_gas_price_percentile: usize,
pub arg_author: Option<String>,
pub arg_engine_signer: Option<String>,
pub arg_tx_gas_limit: Option<String>,
pub arg_tx_time_limit: Option<u64>,
pub arg_extra_data: Option<String>,
pub arg_notify_work: Option<String>,
pub arg_stratum_secret: Option<String>,
pub arg_max_round_blocks_to_import: usize,
pub arg_new_transactions_stats_period: u64,
pub flag_can_restart: bool,
pub flag_no_color: bool,
pub flag_version: bool,
pub flag_no_config: bool,
pub arg_logging: Option<String>,
pub arg_log_file: Option<String>,
pub flag_scale_verifiers: bool,
pub arg_tracing: String,
pub arg_pruning: String,
pub arg_pruning_history: u64,
pub arg_pruning_memory: usize,
pub arg_cache_size_db: u32,
pub arg_cache_size_blocks: u32,
pub arg_cache_size_queue: u32,
pub arg_cache_size_state: u32,
pub arg_db_compaction: String,
pub arg_fat_db: String,
pub arg_cache_size: Option<u32>,
pub arg_num_verifiers: Option<usize>,
pub flag_no_seal_check: bool,
pub flag_enable_snapshotting: bool,
pub arg_snapshot_threads: Option<usize>,
}
Expand description
Parsed command line arguments.
Fields
cmd_daemon: bool
arg_daemon_pid_file: Option<String>
cmd_account: bool
cmd_account_new: bool
cmd_account_list: bool
cmd_account_import: bool
arg_account_import_path: Option<Vec<String>>
cmd_wallet: bool
cmd_wallet_import: bool
arg_wallet_import_path: Option<String>
cmd_import: bool
arg_import_format: Option<String>
arg_import_file: Option<String>
cmd_export: bool
cmd_export_blocks: bool
arg_export_blocks_format: Option<String>
arg_export_blocks_from: String
arg_export_blocks_to: String
arg_export_blocks_file: Option<String>
cmd_export_state: bool
flag_export_state_no_storage: bool
flag_export_state_no_code: bool
arg_export_state_min_balance: Option<String>
arg_export_state_max_balance: Option<String>
arg_export_state_at: String
arg_export_state_format: Option<String>
arg_export_state_file: Option<String>
cmd_signer: bool
cmd_signer_new_token: bool
cmd_signer_list: bool
cmd_signer_sign: bool
arg_signer_sign_id: Option<usize>
cmd_signer_reject: bool
arg_signer_reject_id: Option<usize>
cmd_snapshot: bool
arg_snapshot_at: String
arg_snapshot_file: Option<String>
cmd_restore: bool
arg_restore_file: Option<String>
cmd_tools: bool
cmd_tools_hash: bool
arg_tools_hash_file: Option<String>
cmd_db: bool
cmd_db_kill: bool
cmd_db_reset: bool
arg_db_reset_num: u32
arg_mode: String
arg_mode_timeout: u64
arg_mode_alarm: u64
arg_chain: String
arg_keys_path: String
arg_identity: String
arg_base_path: Option<String>
arg_db_path: Option<String>
flag_unsafe_expose: bool
arg_config: String
arg_ports_shift: u16
flag_fast_unlock: bool
arg_keys_iterations: u32
arg_accounts_refresh: u64
arg_unlock: Option<String>
arg_password: Vec<String>
arg_ui_path: String
flag_no_warp: bool
flag_no_discovery: bool
flag_reserved_only: bool
flag_no_ancient_blocks: bool
arg_warp_barrier: Option<u64>
arg_port: u16
arg_interface: String
arg_min_peers: Option<u16>
arg_max_peers: Option<u16>
arg_snapshot_peers: u16
arg_nat: String
arg_allow_ips: String
arg_max_pending_peers: u16
arg_network_id: Option<u64>
arg_bootnodes: Option<String>
arg_node_key: Option<String>
arg_reserved_peers: Option<String>
flag_jsonrpc_allow_missing_blocks: bool
flag_no_jsonrpc: bool
flag_jsonrpc_no_keep_alive: bool
flag_jsonrpc_experimental: bool
arg_jsonrpc_port: u16
arg_jsonrpc_interface: String
arg_jsonrpc_apis: String
arg_jsonrpc_hosts: String
arg_jsonrpc_threads: usize
arg_jsonrpc_cors: String
arg_jsonrpc_server_threads: Option<usize>
arg_jsonrpc_max_payload: Option<usize>
arg_poll_lifetime: u32
flag_no_ws: bool
arg_ws_port: u16
arg_ws_interface: String
arg_ws_apis: String
arg_ws_origins: String
arg_ws_hosts: String
arg_ws_max_connections: usize
arg_ws_max_payload: usize
flag_metrics: bool
arg_metrics_prefix: String
arg_metrics_port: u16
arg_metrics_interface: String
flag_no_ipc: bool
arg_ipc_path: String
arg_ipc_apis: String
flag_no_secretstore: bool
flag_no_secretstore_http: bool
flag_no_secretstore_auto_migrate: bool
arg_secretstore_acl_contract: Option<String>
arg_secretstore_contract: Option<String>
arg_secretstore_srv_gen_contract: Option<String>
arg_secretstore_srv_retr_contract: Option<String>
arg_secretstore_doc_store_contract: Option<String>
arg_secretstore_doc_sretr_contract: Option<String>
arg_secretstore_nodes: String
arg_secretstore_server_set_contract: Option<String>
arg_secretstore_interface: String
arg_secretstore_port: u16
arg_secretstore_http_interface: String
arg_secretstore_http_port: u16
arg_secretstore_path: String
arg_secretstore_secret: Option<String>
arg_secretstore_admin_public: Option<String>
flag_force_sealing: bool
flag_reseal_on_uncle: bool
flag_remove_solved: bool
flag_tx_queue_no_unfamiliar_locals: bool
flag_tx_queue_no_early_reject: bool
flag_refuse_service_transactions: bool
flag_infinite_pending_block: bool
flag_no_persistent_txqueue: bool
flag_stratum: bool
arg_reseal_on_txs: String
arg_reseal_min_period: u64
arg_reseal_max_period: u64
arg_work_queue_size: usize
arg_relay_set: String
arg_usd_per_tx: String
arg_usd_per_eth: String
arg_price_update_period: String
arg_gas_floor_target: String
arg_gas_cap: String
arg_tx_queue_mem_limit: u32
arg_tx_queue_size: usize
arg_tx_queue_per_sender: Option<usize>
arg_tx_queue_locals: Option<String>
arg_tx_queue_strategy: String
arg_stratum_interface: String
arg_stratum_port: u16
arg_min_gas_price: Option<u64>
arg_gas_price_percentile: usize
arg_engine_signer: Option<String>
arg_tx_gas_limit: Option<String>
arg_tx_time_limit: Option<u64>
arg_extra_data: Option<String>
arg_notify_work: Option<String>
arg_stratum_secret: Option<String>
arg_max_round_blocks_to_import: usize
arg_new_transactions_stats_period: u64
flag_can_restart: bool
flag_no_color: bool
flag_version: bool
flag_no_config: bool
arg_logging: Option<String>
arg_log_file: Option<String>
flag_scale_verifiers: bool
arg_tracing: String
arg_pruning: String
arg_pruning_history: u64
arg_pruning_memory: usize
arg_cache_size_db: u32
arg_cache_size_blocks: u32
arg_cache_size_queue: u32
arg_cache_size_state: u32
arg_db_compaction: String
arg_fat_db: String
arg_cache_size: Option<u32>
arg_num_verifiers: Option<usize>
flag_no_seal_check: bool
flag_enable_snapshotting: bool
arg_snapshot_threads: Option<usize>
Implementations
Trait Implementations
impl StructuralPartialEq for Args
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more