Struct openethereum::cli::RawArgs
source · [−]struct RawArgs {Show 185 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: Option<String>,
arg_export_blocks_to: Option<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: Option<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: Option<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: Option<u32>,
arg_mode: Option<String>,
arg_mode_timeout: Option<u64>,
arg_mode_alarm: Option<u64>,
arg_chain: Option<String>,
arg_keys_path: Option<String>,
arg_identity: Option<String>,
arg_base_path: Option<String>,
arg_db_path: Option<String>,
flag_unsafe_expose: bool,
arg_config: Option<String>,
arg_ports_shift: Option<u16>,
flag_fast_unlock: bool,
arg_keys_iterations: Option<u32>,
arg_accounts_refresh: Option<u64>,
arg_unlock: Option<String>,
arg_password: Option<Vec<String>>,
arg_ui_path: Option<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: Option<u16>,
arg_interface: Option<String>,
arg_min_peers: Option<u16>,
arg_max_peers: Option<u16>,
arg_snapshot_peers: Option<u16>,
arg_nat: Option<String>,
arg_allow_ips: Option<String>,
arg_max_pending_peers: Option<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: Option<u16>,
arg_jsonrpc_interface: Option<String>,
arg_jsonrpc_apis: Option<String>,
arg_jsonrpc_hosts: Option<String>,
arg_jsonrpc_threads: Option<usize>,
arg_jsonrpc_cors: Option<String>,
arg_jsonrpc_server_threads: Option<usize>,
arg_jsonrpc_max_payload: Option<usize>,
arg_poll_lifetime: Option<u32>,
flag_no_ws: bool,
arg_ws_port: Option<u16>,
arg_ws_interface: Option<String>,
arg_ws_apis: Option<String>,
arg_ws_origins: Option<String>,
arg_ws_hosts: Option<String>,
arg_ws_max_connections: Option<usize>,
arg_ws_max_payload: Option<usize>,
flag_metrics: bool,
arg_metrics_prefix: Option<String>,
arg_metrics_port: Option<u16>,
arg_metrics_interface: Option<String>,
flag_no_ipc: bool,
arg_ipc_path: Option<String>,
arg_ipc_apis: Option<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: Option<String>,
arg_secretstore_server_set_contract: Option<String>,
arg_secretstore_interface: Option<String>,
arg_secretstore_port: Option<u16>,
arg_secretstore_http_interface: Option<String>,
arg_secretstore_http_port: Option<u16>,
arg_secretstore_path: Option<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: Option<String>,
arg_reseal_min_period: Option<u64>,
arg_reseal_max_period: Option<u64>,
arg_work_queue_size: Option<usize>,
arg_relay_set: Option<String>,
arg_usd_per_tx: Option<String>,
arg_usd_per_eth: Option<String>,
arg_price_update_period: Option<String>,
arg_gas_floor_target: Option<String>,
arg_gas_cap: Option<String>,
arg_tx_queue_mem_limit: Option<u32>,
arg_tx_queue_size: Option<usize>,
arg_tx_queue_per_sender: Option<usize>,
arg_tx_queue_locals: Option<String>,
arg_tx_queue_strategy: Option<String>,
arg_stratum_interface: Option<String>,
arg_stratum_port: Option<u16>,
arg_min_gas_price: Option<u64>,
arg_gas_price_percentile: Option<usize>,
arg_author: Option<String>,
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: Option<usize>,
arg_new_transactions_stats_period: Option<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: Option<String>,
arg_pruning: Option<String>,
arg_pruning_history: Option<u64>,
arg_pruning_memory: Option<usize>,
arg_cache_size_db: Option<u32>,
arg_cache_size_blocks: Option<u32>,
arg_cache_size_queue: Option<u32>,
arg_cache_size_state: Option<u32>,
arg_db_compaction: Option<String>,
arg_fat_db: Option<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>,
}
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: Option<String>
arg_export_blocks_to: Option<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: Option<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: Option<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: Option<u32>
arg_mode: Option<String>
arg_mode_timeout: Option<u64>
arg_mode_alarm: Option<u64>
arg_chain: Option<String>
arg_keys_path: Option<String>
arg_identity: Option<String>
arg_base_path: Option<String>
arg_db_path: Option<String>
flag_unsafe_expose: bool
arg_config: Option<String>
arg_ports_shift: Option<u16>
flag_fast_unlock: bool
arg_keys_iterations: Option<u32>
arg_accounts_refresh: Option<u64>
arg_unlock: Option<String>
arg_password: Option<Vec<String>>
arg_ui_path: Option<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: Option<u16>
arg_interface: Option<String>
arg_min_peers: Option<u16>
arg_max_peers: Option<u16>
arg_snapshot_peers: Option<u16>
arg_nat: Option<String>
arg_allow_ips: Option<String>
arg_max_pending_peers: Option<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: Option<u16>
arg_jsonrpc_interface: Option<String>
arg_jsonrpc_apis: Option<String>
arg_jsonrpc_hosts: Option<String>
arg_jsonrpc_threads: Option<usize>
arg_jsonrpc_cors: Option<String>
arg_jsonrpc_server_threads: Option<usize>
arg_jsonrpc_max_payload: Option<usize>
arg_poll_lifetime: Option<u32>
flag_no_ws: bool
arg_ws_port: Option<u16>
arg_ws_interface: Option<String>
arg_ws_apis: Option<String>
arg_ws_origins: Option<String>
arg_ws_hosts: Option<String>
arg_ws_max_connections: Option<usize>
arg_ws_max_payload: Option<usize>
flag_metrics: bool
arg_metrics_prefix: Option<String>
arg_metrics_port: Option<u16>
arg_metrics_interface: Option<String>
flag_no_ipc: bool
arg_ipc_path: Option<String>
arg_ipc_apis: Option<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: Option<String>
arg_secretstore_server_set_contract: Option<String>
arg_secretstore_interface: Option<String>
arg_secretstore_port: Option<u16>
arg_secretstore_http_interface: Option<String>
arg_secretstore_http_port: Option<u16>
arg_secretstore_path: Option<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: Option<String>
arg_reseal_min_period: Option<u64>
arg_reseal_max_period: Option<u64>
arg_work_queue_size: Option<usize>
arg_relay_set: Option<String>
arg_usd_per_tx: Option<String>
arg_usd_per_eth: Option<String>
arg_price_update_period: Option<String>
arg_gas_floor_target: Option<String>
arg_gas_cap: Option<String>
arg_tx_queue_mem_limit: Option<u32>
arg_tx_queue_size: Option<usize>
arg_tx_queue_per_sender: Option<usize>
arg_tx_queue_locals: Option<String>
arg_tx_queue_strategy: Option<String>
arg_stratum_interface: Option<String>
arg_stratum_port: Option<u16>
arg_min_gas_price: Option<u64>
arg_gas_price_percentile: Option<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: Option<usize>
arg_new_transactions_stats_period: Option<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: Option<String>
arg_pruning: Option<String>
arg_pruning_history: Option<u64>
arg_pruning_memory: Option<usize>
arg_cache_size_db: Option<u32>
arg_cache_size_blocks: Option<u32>
arg_cache_size_queue: Option<u32>
arg_cache_size_state: Option<u32>
arg_db_compaction: Option<String>
arg_fat_db: Option<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
sourceimpl<'de> Deserialize<'de> for RawArgs
impl<'de> Deserialize<'de> for RawArgs
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RawArgs
Auto Trait Implementations
impl RefUnwindSafe for RawArgs
impl Send for RawArgs
impl Sync for RawArgs
impl Unpin for RawArgs
impl UnwindSafe for RawArgs
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more