2016-04-21 15:41:25 +02:00
|
|
|
Parity. Ethereum Client.
|
2016-08-11 18:31:28 +02:00
|
|
|
By Wood/Paronyan/Kotewicz/Drwięga/Volf et al.
|
2016-04-21 15:41:25 +02:00
|
|
|
Copyright 2015, 2016 Ethcore (UK) Limited
|
|
|
|
|
|
|
|
Usage:
|
2016-07-25 16:09:47 +02:00
|
|
|
parity [options]
|
|
|
|
parity ui [options]
|
2016-04-21 15:41:25 +02:00
|
|
|
parity daemon <pid-file> [options]
|
2016-06-08 15:17:37 +02:00
|
|
|
parity account (new | list ) [options]
|
|
|
|
parity account import <path>... [options]
|
2016-06-21 17:50:22 +02:00
|
|
|
parity wallet import <path> --password FILE [options]
|
2016-05-24 20:29:19 +02:00
|
|
|
parity import [ <file> ] [options]
|
2016-11-27 11:11:56 +01:00
|
|
|
parity export (blocks | state) [ <file> ] [options]
|
2016-06-07 17:21:19 +02:00
|
|
|
parity signer new-token [options]
|
2016-09-20 12:19:07 +02:00
|
|
|
parity signer list [options]
|
|
|
|
parity signer sign [ <id> ] [ --password FILE ] [options]
|
|
|
|
parity signer reject <id> [options]
|
2016-08-05 17:00:46 +02:00
|
|
|
parity snapshot <file> [options]
|
2016-09-11 14:05:59 +02:00
|
|
|
parity restore [ <file> ] [options]
|
2016-09-23 15:28:09 +02:00
|
|
|
parity tools hash <file>
|
2016-12-12 17:19:41 +01:00
|
|
|
parity db kill [options]
|
2016-04-21 15:41:25 +02:00
|
|
|
|
2016-07-05 17:50:46 +02:00
|
|
|
Operating Options:
|
|
|
|
--mode MODE Set the operating mode. MODE can be one of:
|
2016-11-05 10:38:00 +01:00
|
|
|
last - Uses the last-used mode, active if none.
|
2016-07-05 17:50:46 +02:00
|
|
|
active - Parity continuously syncs the chain.
|
|
|
|
passive - Parity syncs initially, then sleeps and
|
2016-07-19 20:42:23 +02:00
|
|
|
wakes regularly to resync.
|
2016-11-05 10:38:00 +01:00
|
|
|
dark - Parity syncs only when the RPC is active.
|
|
|
|
offline - Parity doesn't sync. (default: {flag_mode}).
|
2016-07-05 17:50:46 +02:00
|
|
|
--mode-timeout SECS Specify the number of seconds before inactivity
|
|
|
|
timeout occurs when mode is dark or passive
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_mode_timeout}).
|
2016-07-05 17:50:46 +02:00
|
|
|
--mode-alarm SECS Specify the number of seconds before auto sleep
|
|
|
|
reawake timeout occurs when mode is passive
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_mode_alarm}).
|
2016-12-15 18:51:59 +01:00
|
|
|
--auto-update SET Set a releases set to automatically update and
|
2016-11-23 16:29:15 +01:00
|
|
|
install.
|
2016-12-15 18:51:59 +01:00
|
|
|
all - All updates in the our release track.
|
2016-11-23 16:29:15 +01:00
|
|
|
critical - Only consensus/security updates.
|
|
|
|
none - No updates will be auto-installed.
|
|
|
|
(default: {flag_auto_update}).
|
2016-12-15 19:23:25 +01:00
|
|
|
--release-track TRACK Set which release track we should use for updates.
|
2016-12-15 18:51:59 +01:00
|
|
|
stable - Stable releases.
|
|
|
|
beta - Beta releases.
|
|
|
|
nightly - Nightly releases (unstable).
|
|
|
|
testing - Testing releases (do not use).
|
|
|
|
current - Whatever track this executable was
|
2016-12-15 19:23:25 +01:00
|
|
|
released on (default: {flag_release_track}).
|
2016-11-23 16:29:15 +01:00
|
|
|
--no-download Normally new releases will be downloaded ready for
|
2016-11-23 20:35:21 +01:00
|
|
|
updating. This disables it. Not recommended.
|
|
|
|
(default: {flag_no_download}).
|
2016-11-23 16:29:15 +01:00
|
|
|
--no-consensus Force the binary to run even if there are known
|
|
|
|
issues regarding consensus. Not recommended.
|
2016-11-23 20:35:21 +01:00
|
|
|
(default: {flag_no_consensus}).
|
2016-12-10 23:58:39 +01:00
|
|
|
--force-direct Run the originally installed version of Parity,
|
2016-12-15 18:51:59 +01:00
|
|
|
ignoring any updates that have since been installed.
|
2016-04-21 15:41:25 +02:00
|
|
|
--chain CHAIN Specify the blockchain type. CHAIN may be either a
|
|
|
|
JSON chain specification file or olympic, frontier,
|
2016-11-21 14:39:26 +01:00
|
|
|
homestead, mainnet, morden, ropsten, classic, expanse,
|
2016-11-11 19:38:44 +01:00
|
|
|
testnet or dev (default: {flag_chain}).
|
2016-04-21 15:41:25 +02:00
|
|
|
-d --db-path PATH Specify the database & configuration directory path
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_db_path}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--keys-path PATH Specify the path for JSON key files to be found
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_keys_path}).
|
|
|
|
--identity NAME Specify your node's name. (default: {flag_identity})
|
2016-06-19 13:20:14 +02:00
|
|
|
|
2016-04-21 15:41:25 +02:00
|
|
|
Account Options:
|
|
|
|
--unlock ACCOUNTS Unlock ACCOUNTS for the duration of the execution.
|
|
|
|
ACCOUNTS is a comma-delimited list of addresses.
|
2016-11-07 17:40:53 +01:00
|
|
|
Implies --no-ui. (default: {flag_unlock:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
--password FILE Provide a file containing a password for unlocking
|
2016-10-07 09:39:16 +02:00
|
|
|
an account. Leading and trailing whitespace is trimmed.
|
|
|
|
(default: {flag_password:?})
|
2016-06-22 19:51:36 +02:00
|
|
|
--keys-iterations NUM Specify the number of iterations to use when
|
2016-05-23 09:51:36 +02:00
|
|
|
deriving key from the password (bigger is more
|
2016-09-10 11:37:14 +02:00
|
|
|
secure) (default: {flag_keys_iterations}).
|
2016-11-07 17:40:53 +01:00
|
|
|
|
|
|
|
UI Options:
|
|
|
|
--force-ui Enable Trusted UI WebSocket endpoint,
|
|
|
|
even when --unlock is in use. (default: ${flag_force_ui})
|
|
|
|
--no-ui Disable Trusted UI WebSocket endpoint.
|
|
|
|
(default: ${flag_no_ui})
|
|
|
|
--ui-port PORT Specify the port of Trusted UI server
|
|
|
|
(default: {flag_ui_port}).
|
|
|
|
--ui-interface IP Specify the hostname portion of the Trusted UI
|
2016-08-23 16:53:24 +02:00
|
|
|
server, IP should be an interface's IP address,
|
2016-11-07 17:40:53 +01:00
|
|
|
or local (default: {flag_ui_interface}).
|
|
|
|
--ui-path PATH Specify directory where Trusted UIs tokens should
|
|
|
|
be stored. (default: {flag_ui_path})
|
|
|
|
--ui-no-validation Disable Origin and Host headers validation for
|
|
|
|
Trusted UI. WARNING: INSECURE. Used only for
|
|
|
|
development. (default: {flag_ui_no_validation})
|
2016-04-21 15:41:25 +02:00
|
|
|
|
|
|
|
Networking Options:
|
2016-10-18 18:16:00 +02:00
|
|
|
--warp Enable syncing from the snapshot over the network. (default: {flag_warp})
|
2016-04-21 15:41:25 +02:00
|
|
|
--port PORT Override the port on which the node should listen
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_port}).
|
|
|
|
--min-peers NUM Try to maintain at least NUM peers (default: {flag_min_peers}).
|
2016-10-24 18:25:27 +02:00
|
|
|
--max-peers NUM Allow up to NUM peers (default: {flag_max_peers}).
|
|
|
|
--snapshot-peers NUM Allow additional NUM peers for a snapshot sync
|
|
|
|
(default: {flag_snapshot_peers}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--nat METHOD Specify method to use for determining public
|
|
|
|
address. Must be one of: any, none, upnp,
|
2016-09-10 11:37:14 +02:00
|
|
|
extip:<IP> (default: {flag_nat}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--network-id INDEX Override the network identifier from the chain we
|
2016-09-10 11:37:14 +02:00
|
|
|
are on. (default: {flag_network_id:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
--bootnodes NODES Override the bootnodes from our chain. NODES should
|
2016-09-10 11:37:14 +02:00
|
|
|
be comma-delimited enodes. (default: {flag_bootnodes:?})
|
|
|
|
--no-discovery Disable new peer discovery. (default: {flag_no_discovery})
|
2016-04-21 15:41:25 +02:00
|
|
|
--node-key KEY Specify node secret key, either as 64-character hex
|
2016-09-10 11:37:14 +02:00
|
|
|
string or input to SHA3 operation. (default: {flag_node_key:?})
|
2016-06-20 14:13:33 +02:00
|
|
|
--reserved-peers FILE Provide a file containing enodes, one per line.
|
|
|
|
These nodes will always have a reserved slot on top
|
2016-09-10 11:37:14 +02:00
|
|
|
of the normal maximum peers. (default: {flag_reserved_peers:?})
|
|
|
|
--reserved-only Connect only to reserved nodes. (default: {flag_reserved_only})
|
2016-10-24 18:25:27 +02:00
|
|
|
--allow-ips FILTER Filter outbound connections. Must be one of:
|
|
|
|
private - connect to private network IP addresses only;
|
|
|
|
public - connect to public network IP addresses only;
|
|
|
|
all - connect to any IP address.
|
|
|
|
(default: {flag_allow_ips})
|
|
|
|
--max-pending-peers NUM Allow up to NUM pending connections. (default: {flag_max_pending_peers})
|
2016-11-22 18:03:35 +01:00
|
|
|
--no-ancient-blocks Disable downloading old blocks after snapshot restoration
|
|
|
|
or warp sync. (default: {flag_no_ancient_blocks})
|
2016-12-08 23:21:47 +01:00
|
|
|
--serve-light Experimental: Serve light client peers. (default: {flag_serve_light})
|
2016-04-21 15:41:25 +02:00
|
|
|
|
|
|
|
API and Console Options:
|
2016-09-10 11:37:14 +02:00
|
|
|
--no-jsonrpc Disable the JSON-RPC API server. (default: {flag_no_jsonrpc})
|
2016-04-21 15:41:25 +02:00
|
|
|
--jsonrpc-port PORT Specify the port portion of the JSONRPC API server
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_jsonrpc_port}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--jsonrpc-interface IP Specify the hostname portion of the JSONRPC API
|
|
|
|
server, IP should be an interface's IP address, or
|
2016-09-10 11:37:14 +02:00
|
|
|
all (all interfaces) or local (default: {flag_jsonrpc_interface}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--jsonrpc-cors URL Specify CORS header for JSON-RPC API responses.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_jsonrpc_cors:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
--jsonrpc-apis APIS Specify the APIs available through the JSONRPC
|
|
|
|
interface. APIS is a comma-delimited list of API
|
2016-05-04 19:26:47 +02:00
|
|
|
name. Possible name are web3, eth, net, personal,
|
2016-11-06 12:51:53 +01:00
|
|
|
parity, parity_set, traces, rpc, parity_accounts.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_jsonrpc_apis}).
|
2016-07-20 12:34:17 +02:00
|
|
|
--jsonrpc-hosts HOSTS List of allowed Host header values. This option will
|
|
|
|
validate the Host header sent by the browser, it
|
|
|
|
is additional security against some attack
|
|
|
|
vectors. Special options: "all", "none",
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_jsonrpc_hosts}).
|
2016-05-04 19:26:47 +02:00
|
|
|
|
2016-09-10 11:37:14 +02:00
|
|
|
--no-ipc Disable JSON-RPC over IPC service. (default: {flag_no_ipc})
|
2016-05-04 19:26:47 +02:00
|
|
|
--ipc-path PATH Specify custom path for JSON-RPC over IPC service
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_ipc_path}).
|
2016-05-04 19:26:47 +02:00
|
|
|
--ipc-apis APIS Specify custom API set available via JSON-RPC over
|
2016-09-10 11:37:14 +02:00
|
|
|
IPC (default: {flag_ipc_apis}).
|
2016-05-04 19:26:47 +02:00
|
|
|
|
2016-09-10 11:37:14 +02:00
|
|
|
--no-dapps Disable the Dapps server (e.g. status page). (default: {flag_no_dapps})
|
2016-05-26 18:21:15 +02:00
|
|
|
--dapps-port PORT Specify the port portion of the Dapps server
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_dapps_port}).
|
2016-05-26 18:21:15 +02:00
|
|
|
--dapps-interface IP Specify the hostname portion of the Dapps
|
2016-07-20 12:34:17 +02:00
|
|
|
server, IP should be an interface's IP address,
|
2016-09-10 11:37:14 +02:00
|
|
|
or local (default: {flag_dapps_interface}).
|
2016-08-25 08:57:13 +02:00
|
|
|
--dapps-hosts HOSTS List of allowed Host header values. This option will
|
|
|
|
validate the Host header sent by the browser, it
|
|
|
|
is additional security against some attack
|
|
|
|
vectors. Special options: "all", "none",
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_dapps_hosts}).
|
2016-05-26 18:21:15 +02:00
|
|
|
--dapps-user USERNAME Specify username for Dapps server. It will be
|
2016-04-21 15:41:25 +02:00
|
|
|
used in HTTP Basic Authentication Scheme.
|
2016-05-26 18:21:15 +02:00
|
|
|
If --dapps-pass is not specified you will be
|
2016-09-10 11:37:14 +02:00
|
|
|
asked for password on startup. (default: {flag_dapps_user:?})
|
2016-05-26 18:21:15 +02:00
|
|
|
--dapps-pass PASSWORD Specify password for Dapps server. Use only in
|
2016-09-10 11:37:14 +02:00
|
|
|
conjunction with --dapps-user. (default: {flag_dapps_pass:?})
|
2016-06-03 11:51:11 +02:00
|
|
|
--dapps-path PATH Specify directory where dapps should be installed.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_dapps_path})
|
2016-04-21 15:41:25 +02:00
|
|
|
|
|
|
|
Sealing/Mining Options:
|
2016-06-26 22:02:17 +02:00
|
|
|
--author ADDRESS Specify the block author (aka "coinbase") address
|
|
|
|
for sending block rewards from sealed blocks.
|
|
|
|
NOTE: MINING WILL NOT WORK WITHOUT THIS OPTION.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_author:?})
|
2016-12-05 20:23:03 +01:00
|
|
|
--engine-signer ADDRESS Specify the address which should be used to
|
|
|
|
sign consensus messages and issue blocks.
|
|
|
|
Relevant only to non-PoW chains.
|
|
|
|
(default: {flag_engine_signer:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
--force-sealing Force the node to author new blocks as if it were
|
|
|
|
always sealing/mining.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_force_sealing})
|
2016-06-27 19:16:26 +02:00
|
|
|
--reseal-on-txs SET Specify which transactions should force the node
|
|
|
|
to reseal a block. SET is one of:
|
2016-06-27 17:23:54 +02:00
|
|
|
none - never reseal on new transactions;
|
|
|
|
own - reseal only on a new local transaction;
|
|
|
|
ext - reseal only on a new external transaction;
|
2016-09-10 11:37:14 +02:00
|
|
|
all - reseal on all new transactions
|
|
|
|
(default: {flag_reseal_on_txs}).
|
2016-07-19 20:42:23 +02:00
|
|
|
--reseal-min-period MS Specify the minimum time between reseals from
|
2016-06-29 16:26:19 +02:00
|
|
|
incoming transactions. MS is time measured in
|
2016-09-10 11:37:14 +02:00
|
|
|
milliseconds (default: {flag_reseal_min_period}).
|
2016-06-29 16:26:19 +02:00
|
|
|
--work-queue-size ITEMS Specify the number of historical work packages
|
2016-07-19 20:42:23 +02:00
|
|
|
which are kept cached lest a solution is found for
|
2016-06-29 16:26:19 +02:00
|
|
|
them later. High values take more memory but result
|
2016-09-10 11:37:14 +02:00
|
|
|
in fewer unusable solutions (default: {flag_work_queue_size}).
|
2016-06-28 10:40:35 +02:00
|
|
|
--tx-gas-limit GAS Apply a limit of GAS as the maximum amount of gas
|
2016-06-27 18:27:06 +02:00
|
|
|
a single transaction may have for it to be mined.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_tx_gas_limit:?})
|
2016-10-27 19:28:34 +02:00
|
|
|
--tx-time-limit MS Maximal time for processing single transaction.
|
|
|
|
If enabled senders/recipients/code of transactions
|
|
|
|
offending the limit will be banned from being included
|
|
|
|
in transaction queue for 180 seconds.
|
|
|
|
(default: {flag_tx_time_limit:?})
|
2016-06-27 19:06:54 +02:00
|
|
|
--relay-set SET Set of transactions to relay. SET may be:
|
|
|
|
cheap - Relay any transaction in the queue (this
|
|
|
|
may include invalid transactions);
|
|
|
|
strict - Relay only executed transactions (this
|
|
|
|
guarantees we don't relay invalid transactions, but
|
|
|
|
means we relay nothing if not mining);
|
2016-06-27 21:06:10 +02:00
|
|
|
lenient - Same as strict when mining, and cheap
|
2016-09-10 11:37:14 +02:00
|
|
|
when not (default: {flag_relay_set}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--usd-per-tx USD Amount of USD to be paid for a basic transaction
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_usd_per_tx}). The minimum gas price is set
|
2016-04-21 15:41:25 +02:00
|
|
|
accordingly.
|
|
|
|
--usd-per-eth SOURCE USD value of a single ETH. SOURCE may be either an
|
2016-05-14 15:53:46 +02:00
|
|
|
amount in USD, a web service or 'auto' to use each
|
|
|
|
web service in turn and fallback on the last known
|
2016-09-10 11:37:14 +02:00
|
|
|
good value (default: {flag_usd_per_eth}).
|
2016-07-08 17:26:06 +02:00
|
|
|
--price-update-period T T will be allowed to pass between each gas price
|
|
|
|
update. T may be daily, hourly, a number of seconds,
|
|
|
|
or a time string of the form "2 days", "30 minutes"
|
2016-09-10 11:37:14 +02:00
|
|
|
etc. (default: {flag_price_update_period}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--gas-floor-target GAS Amount of gas per block to target when sealing a new
|
2016-09-10 11:37:14 +02:00
|
|
|
block (default: {flag_gas_floor_target}).
|
2016-06-23 14:29:16 +02:00
|
|
|
--gas-cap GAS A cap on how large we will raise the gas limit per
|
2016-09-10 11:37:14 +02:00
|
|
|
block due to transaction volume (default: {flag_gas_cap}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--extra-data STRING Specify a custom extra-data for authored blocks, no
|
2016-09-10 11:37:14 +02:00
|
|
|
more than 32 characters. (default: {flag_extra_data:?})
|
2016-06-27 21:06:40 +02:00
|
|
|
--tx-queue-size LIMIT Maximum amount of transactions in the queue (waiting
|
2016-09-10 11:37:14 +02:00
|
|
|
to be included in next block) (default: {flag_tx_queue_size}).
|
2016-10-10 23:04:43 +02:00
|
|
|
--tx-queue-gas LIMIT Maximum amount of total gas for external transactions in
|
|
|
|
the queue. LIMIT can be either an amount of gas or
|
2016-10-14 13:56:00 +02:00
|
|
|
'auto' or 'off'. 'auto' sets the limit to be 20x
|
2016-10-10 23:04:43 +02:00
|
|
|
the current block gas limit. (default: {flag_tx_queue_gas}).
|
2016-10-15 14:46:33 +02:00
|
|
|
--tx-queue-strategy S Prioritization strategy used to order transactions
|
|
|
|
in the queue. S may be:
|
|
|
|
gas - Prioritize txs with low gas limit;
|
|
|
|
gas_price - Prioritize txs with high gas price;
|
|
|
|
gas_factor - Prioritize txs using gas price
|
|
|
|
and gas limit ratio (default: {flag_tx_queue_strategy}).
|
2016-10-27 19:28:34 +02:00
|
|
|
--tx-queue-ban-count C Number of times maximal time for execution (--tx-time-limit)
|
|
|
|
can be exceeded before banning sender/recipient/code.
|
|
|
|
(default: {flag_tx_queue_ban_count})
|
|
|
|
--tx-queue-ban-time SEC Banning time (in seconds) for offenders of specified
|
|
|
|
execution time limit. Also number of offending actions
|
|
|
|
have to reach the threshold within that time.
|
|
|
|
(default: {flag_tx_queue_ban_time} seconds)
|
2016-06-30 12:56:58 +02:00
|
|
|
--remove-solved Move solved blocks from the work package queue
|
|
|
|
instead of cloning them. This gives a slightly
|
|
|
|
faster import speed, but means that extra solutions
|
|
|
|
submitted for the same work package will go unused.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_remove_solved})
|
2016-06-29 15:37:11 +02:00
|
|
|
--notify-work URLS URLs to which work package notifications are pushed.
|
|
|
|
URLS should be a comma-delimited list of HTTP URLs.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_notify_work:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
|
|
|
|
Footprint Options:
|
2016-05-02 12:17:30 +02:00
|
|
|
--tracing BOOL Indicates if full transaction tracing should be
|
2016-05-21 14:49:21 +02:00
|
|
|
enabled. Works only if client had been fully synced
|
|
|
|
with tracing enabled. BOOL may be one of auto, on,
|
|
|
|
off. auto uses last used value of this option (off
|
2016-09-10 11:37:14 +02:00
|
|
|
if it does not exist) (default: {flag_tracing}).
|
2016-04-21 15:41:25 +02:00
|
|
|
--pruning METHOD Configure pruning of the state/storage trie. METHOD
|
2016-06-24 16:12:15 +02:00
|
|
|
may be one of auto, archive, fast:
|
2016-04-21 15:41:25 +02:00
|
|
|
archive - keep all state trie data. No pruning.
|
|
|
|
fast - maintain journal overlay. Fast but 50MB used.
|
|
|
|
auto - use the method most recently synced or
|
2016-09-10 11:37:14 +02:00
|
|
|
default to fast if none synced (default: {flag_pruning}).
|
2016-10-14 14:44:56 +02:00
|
|
|
--pruning-history NUM Set a number of recent states to keep when pruning
|
2016-10-27 16:56:18 +02:00
|
|
|
is active. (default: {flag_pruning_history}).
|
2016-09-10 11:37:14 +02:00
|
|
|
--cache-size-db MB Override database cache size (default: {flag_cache_size_db}).
|
2016-07-25 16:09:47 +02:00
|
|
|
--cache-size-blocks MB Specify the prefered size of the blockchain cache in
|
2016-09-10 11:37:14 +02:00
|
|
|
megabytes (default: {flag_cache_size_blocks}).
|
2016-07-25 16:09:47 +02:00
|
|
|
--cache-size-queue MB Specify the maximum size of memory to use for block
|
2016-09-10 11:37:14 +02:00
|
|
|
queue (default: {flag_cache_size_queue}).
|
2016-10-07 00:28:42 +02:00
|
|
|
--cache-size-state MB Specify the maximum size of memory to use for
|
|
|
|
the state cache (default: {flag_cache_size_state}).
|
2016-07-25 16:09:47 +02:00
|
|
|
--cache-size MB Set total amount of discretionary memory to use for
|
2016-04-21 15:41:25 +02:00
|
|
|
the entire system, overrides other cache and queue
|
2016-12-02 18:21:54 +01:00
|
|
|
options. (default: {flag_cache_size:?})
|
2016-07-29 15:36:00 +02:00
|
|
|
--fast-and-loose Disables DB WAL, which gives a significant speed up
|
2016-09-10 11:37:14 +02:00
|
|
|
but means an unclean exit is unrecoverable. (default: {flag_fast_and_loose})
|
2016-06-27 19:22:28 +02:00
|
|
|
--db-compaction TYPE Database compaction type. TYPE may be one of:
|
|
|
|
ssd - suitable for SSDs and fast HDDs;
|
2016-10-21 23:21:57 +02:00
|
|
|
hdd - suitable for slow HDDs;
|
|
|
|
auto - determine automatically (default: {flag_db_compaction}).
|
2016-10-03 11:13:10 +02:00
|
|
|
--fat-db BOOL Build appropriate information to allow enumeration
|
|
|
|
of all accounts and storage keys. Doubles the size
|
|
|
|
of the state database. BOOL may be one of on, off
|
|
|
|
or auto. (default: {flag_fat_db})
|
2016-12-11 14:25:02 +01:00
|
|
|
--scale-verifiers Automatically scale amount of verifier threads based on
|
2016-12-02 18:21:54 +01:00
|
|
|
workload. Not guaranteed to be faster.
|
|
|
|
(default: {flag_scale_verifiers})
|
|
|
|
--num-verifiers INT Amount of verifier threads to use or to begin with, if verifier
|
|
|
|
auto-scaling is enabled. (default: {flag_num_verifiers:?})
|
2016-04-21 15:41:25 +02:00
|
|
|
|
2016-05-24 20:29:19 +02:00
|
|
|
Import/Export Options:
|
2016-05-23 09:51:36 +02:00
|
|
|
--from BLOCK Export from block BLOCK, which may be an index or
|
2016-09-10 11:37:14 +02:00
|
|
|
hash (default: {flag_from}).
|
2016-05-24 20:29:19 +02:00
|
|
|
--to BLOCK Export to (including) block BLOCK, which may be an
|
2016-09-10 11:37:14 +02:00
|
|
|
index, hash or 'latest' (default: {flag_to}).
|
2016-05-24 20:29:19 +02:00
|
|
|
--format FORMAT For import/export in given format. FORMAT must be
|
|
|
|
one of 'hex' and 'binary'.
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_format:?} = Import: auto, Export: binary)
|
2016-10-24 15:09:13 +02:00
|
|
|
--no-seal-check Skip block seal check. (default: {flag_no_seal_check})
|
2016-11-27 11:11:56 +01:00
|
|
|
--at BLOCK Export state at the given block, which may be an
|
2016-12-12 17:19:41 +01:00
|
|
|
index, hash, or 'latest'. (default: {flag_at})
|
|
|
|
--no-storage Don't export account storage. (default: {flag_no_storage})
|
2016-11-27 11:11:56 +01:00
|
|
|
--no-code Don't export account code. (default: {flag_no_code})
|
2016-11-27 18:16:43 +01:00
|
|
|
--min-balance WEI Don't export accounts with balance less than specified.
|
|
|
|
(default: {flag_min_balance:?})
|
|
|
|
--max-balance WEI Don't export accounts with balance greater than specified.
|
|
|
|
(default: {flag_max_balance:?})
|
2016-05-23 09:51:36 +02:00
|
|
|
|
2016-08-08 18:41:30 +02:00
|
|
|
Snapshot Options:
|
|
|
|
--at BLOCK Take a snapshot at the given block, which may be an
|
|
|
|
index, hash, or 'latest'. Note that taking snapshots at
|
|
|
|
non-recent blocks will only work with --pruning archive
|
2016-09-10 11:37:14 +02:00
|
|
|
(default: {flag_at})
|
2016-09-02 20:24:59 +02:00
|
|
|
--no-periodic-snapshot Disable automated snapshots which usually occur once
|
2016-09-10 11:37:14 +02:00
|
|
|
every 10000 blocks. (default: {flag_no_periodic_snapshot})
|
2016-08-08 18:41:30 +02:00
|
|
|
|
2016-05-19 00:44:49 +02:00
|
|
|
Virtual Machine Options:
|
2016-09-10 11:37:14 +02:00
|
|
|
--jitvm Enable the JIT VM. (default: {flag_jitvm})
|
2016-05-19 00:44:49 +02:00
|
|
|
|
2016-05-04 19:26:47 +02:00
|
|
|
Legacy Options:
|
2016-06-19 14:51:51 +02:00
|
|
|
--geth Run in Geth-compatibility mode. Sets the IPC path
|
|
|
|
to be the same as Geth's. Overrides the --ipc-path
|
|
|
|
and --ipcpath options. Alters RPCs to reflect Geth
|
2016-11-06 12:51:53 +01:00
|
|
|
bugs. Includes the personal_ RPC by default.
|
2016-05-21 18:46:18 +02:00
|
|
|
--testnet Geth-compatible testnet mode. Equivalent to --chain
|
|
|
|
testnet --keys-path $HOME/parity/testnet-keys.
|
|
|
|
Overrides the --keys-path option.
|
2016-08-11 18:31:28 +02:00
|
|
|
--import-geth-keys Attempt to import keys from Geth client.
|
2016-04-21 15:41:25 +02:00
|
|
|
--datadir PATH Equivalent to --db-path PATH.
|
|
|
|
--networkid INDEX Equivalent to --network-id INDEX.
|
2016-07-29 17:30:02 +02:00
|
|
|
--peers NUM Equivalent to --min-peers NUM.
|
2016-04-21 15:41:25 +02:00
|
|
|
--nodekey KEY Equivalent to --node-key KEY.
|
|
|
|
--nodiscover Equivalent to --no-discovery.
|
2016-05-04 19:26:47 +02:00
|
|
|
-j --jsonrpc Does nothing; JSON-RPC is on by default now.
|
2016-06-23 18:57:42 +02:00
|
|
|
--jsonrpc-off Equivalent to --no-jsonrpc.
|
2016-05-26 18:21:15 +02:00
|
|
|
-w --webapp Does nothing; dapps server is on by default now.
|
2016-06-23 18:57:42 +02:00
|
|
|
--dapps-off Equivalent to --no-dapps.
|
2016-05-04 19:26:47 +02:00
|
|
|
--rpc Does nothing; JSON-RPC is on by default now.
|
2016-04-21 15:41:25 +02:00
|
|
|
--rpcaddr IP Equivalent to --jsonrpc-interface IP.
|
|
|
|
--rpcport PORT Equivalent to --jsonrpc-port PORT.
|
|
|
|
--rpcapi APIS Equivalent to --jsonrpc-apis APIS.
|
|
|
|
--rpccorsdomain URL Equivalent to --jsonrpc-cors URL.
|
2016-06-23 18:57:42 +02:00
|
|
|
--ipcdisable Equivalent to --no-ipc.
|
|
|
|
--ipc-off Equivalent to --no-ipc.
|
2016-05-04 19:26:47 +02:00
|
|
|
--ipcapi APIS Equivalent to --ipc-apis APIS.
|
|
|
|
--ipcpath PATH Equivalent to --ipc-path PATH.
|
2016-04-21 15:41:25 +02:00
|
|
|
--gasprice WEI Minimum amount of Wei per GAS to be paid for a
|
|
|
|
transaction to be accepted for mining. Overrides
|
|
|
|
--basic-tx-usd.
|
|
|
|
--etherbase ADDRESS Equivalent to --author ADDRESS.
|
|
|
|
--extradata STRING Equivalent to --extra-data STRING.
|
2016-07-25 16:09:47 +02:00
|
|
|
--cache MB Equivalent to --cache-size MB.
|
2016-04-21 15:41:25 +02:00
|
|
|
|
2016-12-11 04:05:02 +01:00
|
|
|
Internal Options:
|
|
|
|
--can-restart Executable will auto-restart if exiting with 125.
|
|
|
|
|
2016-04-21 15:41:25 +02:00
|
|
|
Miscellaneous Options:
|
2016-09-10 11:37:14 +02:00
|
|
|
-c --config CONFIG Specify a filename containing a configuration file.
|
|
|
|
(default: {flag_config})
|
2016-04-21 15:41:25 +02:00
|
|
|
-l --logging LOGGING Specify the logging level. Must conform to the same
|
2016-09-10 11:37:14 +02:00
|
|
|
format as RUST_LOG. (default: {flag_logging:?})
|
2016-07-13 09:05:26 +02:00
|
|
|
--log-file FILENAME Specify a filename into which logging should be
|
2016-11-25 13:04:02 +01:00
|
|
|
appended. (default: {flag_log_file:?})
|
2016-09-12 08:42:22 +02:00
|
|
|
--no-config Don't load a configuration file.
|
2016-09-10 11:37:14 +02:00
|
|
|
--no-color Don't use terminal color codes in output. (default: {flag_no_color})
|
2016-04-21 15:41:25 +02:00
|
|
|
-v --version Show information about version.
|
|
|
|
-h --help Show this screen.
|