最新parity 以太坊客户端2.7.2稳定版配置参数说明

偏执的太偏执、 2022-12-01 05:13 274阅读 0赞

最新parity 以太坊客户端2.7.2稳定版,客户端配置参数说明

Parity Ethereum Client.
By Wood/Paronyan/Kotewicz/Drwięga/Volf/Greeff
Habermeier/Czaban/Gotchac/Redman/Nikolsky
Schoedon/Tang/Adolfsson/Silva/Palm/Hirsz et al.
Copyright 2015-2020 Parity Technologies (UK) Ltd.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.

parity [options]
parity [options] daemon
parity [options] account new
parity [options] account list
parity [options] account import
parity [options] wallet import
parity [options] import —format=[FORMAT] [FILE]
parity [options] export blocks —format=[FORMAT] —from=[BLOCK] —to=[BLOCK]
[FILE]
parity [options] export state [—no-storage] [—no-code] —min-balance=[WEI]
—max-balance=[WEI] —at=[BLOCK] —format=[FORMAT] [FILE]
parity [options] signer new-token
parity [options] signer list
parity [options] signer sign [ID]
parity [options] signer reject
parity [options] snapshot —at=[BLOCK]
parity [options] restore [FILE]
parity [options] tools hash
parity [options] db kill
parity [options] db reset
parity [options] export-hardcoded-sync
parity [options] dapp

Operating Options:
—no-download
Normally new releases will be downloaded ready for updating. This
disables it. Not recommended.

  1. --no-consensus
  2. Force the binary to run even if there are known issues regarding
  3. consensus. Not recommended.
  4. --light
  5. Experimental: run in light client mode. Light clients synchronize a bare
  6. minimum of data and fetch necessary data on-demand from the network.
  7. Much lower in storage, potentially higher in bandwidth. Has no effect
  8. with subcommands.
  9. --no-hardcoded-sync
  10. By default, if there is no existing database the light client will
  11. automatically jump to a block hardcoded in the chain's specifications.
  12. This disables this feature.
  13. --force-direct
  14. Run the originally installed version of Parity, ignoring any updates
  15. that have since been installed.
  16. --mode=\[MODE\]
  17. Set the operating mode. MODE can be one of: last - Uses the last-used
  18. mode, active if none; active - Parity continuously syncs the chain;
  19. passive - Parity syncs initially, then sleeps and wakes regularly to
  20. resync; dark - Parity syncs only when the JSON-RPC is active; offline -
  21. Parity doesn't sync. (default: last)
  22. --mode-timeout=\[SECS\]
  23. Specify the number of seconds before inactivity timeout occurs when mode
  24. is dark or passive (default: 300)
  25. --mode-alarm=\[SECS\]
  26. Specify the number of seconds before auto sleep reawake timeout occurs
  27. when mode is passive (default: 3600)
  28. --auto-update=\[SET\]
  29. Set a releases set to automatically update and install. SET can be one
  30. of: all - All updates in the our release track; critical - Only
  31. consensus/security updates; none - No updates will be auto-installed.
  32. (default: critical)
  33. --auto-update-delay=\[NUM\]
  34. Specify the maximum number of blocks used for randomly delaying updates.
  35. (default: 100)
  36. --auto-update-check-frequency=\[NUM\]
  37. Specify the number of blocks between each auto-update check. (default:
  38. 20)
  39. --release-track=\[TRACK\]
  40. Set which release track we should use for updates. TRACK can be one of:
  41. stable - Stable releases; nightly - Nightly releases (unstable); testing
  42. - Testing releases (do not use); current - Whatever track this
  43. executable was released on. (default: current)
  44. --chain=\[CHAIN\]
  45. Specify the blockchain type. CHAIN may be either a JSON chain
  46. specification file or ethereum, classic, poacore, xdai, volta, ewc,
  47. musicoin, ellaism, mix, callisto, ethercore, morden, mordor, ropsten,
  48. kovan, rinkeby, goerli, kotti, poasokol, testnet, evantestcore, evancore
  49. or dev. (default: foundation)
  50. --keys-path=\[PATH\]
  51. Specify the path for JSON key files to be found (default: $BASE/keys)
  52. --identity=\[NAME\]
  53. Specify your node's name. (default: )
  54. -d, --base-path=\[PATH\]
  55. Specify the base data storage path.
  56. --db-path=\[PATH\]
  57. Specify the database directory path

Convenience Options:
—unsafe-expose
All servers will listen on external interfaces and will be remotely
accessible. It’s equivalent with setting the following:
—[ws,jsonrpc,ipfs-api,secretstore,stratum,dapps,secretstore-http]-inter
face=all —*-hosts=all This option is UNSAFE and should be used with
great care!

  1. -c, --config=\[CONFIG\]
  2. Specify a configuration. CONFIG may be either a configuration file or a
  3. preset: dev, insecure, dev-insecure, mining, or non-standard-ports.
  4. (default: $BASE/config.toml)
  5. --ports-shift=\[SHIFT\]
  6. Add SHIFT to all port numbers Parity is listening on. Includes network
  7. port and all servers (HTTP JSON-RPC, WebSockets JSON-RPC, IPFS,
  8. SecretStore). (default: 0)

Account Options:
—fast-unlock
Use drastically faster unlocking mode. This setting causes raw secrets
to be stored unprotected in memory, so use with care.

  1. --keys-iterations=\[NUM\]
  2. Specify the number of iterations to use when deriving key from the
  3. password (bigger is more secure) (default: 10240)
  4. --accounts-refresh=\[TIME\]
  5. Specify the cache time of accounts read from disk. If you manage
  6. thousands of accounts set this to 0 to disable refresh. (default: 5)
  7. --unlock=\[ACCOUNTS\]
  8. Unlock ACCOUNTS for the duration of the execution. ACCOUNTS is a comma
  9. -delimited list of addresses.
  10. --enable-signing-queue=\[BOOLEAN\]
  11. Enables the signing queue for external transaction signing either via
  12. CLI or personal\_unlockAccount, turned off by default. (default: false)
  13. --password=\[FILE\]...
  14. Provide a file containing a password for unlocking an account. Leading
  15. and trailing whitespace is trimmed. (default: \[\])

Private Transactions Options:
—private-tx-enabled
Enable private transactions.

  1. --private-state-offchain
  2. Store private state offchain (in the local DB).
  3. --private-signer=\[ACCOUNT\]
  4. Specify the account for signing public transaction created upon verified
  5. private transaction.
  6. --private-validators=\[ACCOUNTS\]
  7. Specify the accounts for validating private transactions. ACCOUNTS is a
  8. comma-delimited list of addresses.
  9. --private-account=\[ACCOUNT\]
  10. Specify the account for signing requests to secret store.
  11. --private-sstore-url=\[URL\]
  12. Specify secret store URL used for encrypting private transactions.
  13. --private-sstore-threshold=\[NUM\]
  14. Specify secret store threshold used for encrypting private transactions.
  15. --private-passwords=\[FILE\]...
  16. Provide a file containing passwords for unlocking accounts (signer,
  17. private account, validators).

UI Options:
—ui-path=[PATH]
Specify directory where Trusted UIs tokens should be stored. (default:
$BASE/signer)

Networking Options:
—no-warp
Disable syncing from the snapshot over the network.

  1. --no-discovery
  2. Disable new peer discovery.
  3. --reserved-only
  4. Connect only to reserved nodes.
  5. --no-ancient-blocks
  6. Disable downloading old blocks after snapshot restoration or warp sync.
  7. Not recommended.
  8. --no-serve-light
  9. Disable serving of light peers.
  10. --warp-barrier=\[NUM\]
  11. When warp enabled never attempt regular sync before warping to block
  12. NUM.
  13. --port=\[PORT\]
  14. Override the port on which the node should listen. (default: 30303)
  15. --interface=\[IP\]
  16. Network interfaces. Valid values are 'all', 'local' or the ip of the
  17. interface you want parity to listen to. (default: all)
  18. --min-peers=\[NUM\]
  19. Try to maintain at least NUM peers.
  20. --max-peers=\[NUM\]
  21. Allow up to NUM peers.
  22. --snapshot-peers=\[NUM\]
  23. Allow additional NUM peers for a snapshot sync. (default: 0)
  24. --nat=\[METHOD\]
  25. Specify method to use for determining public address. Must be one of:
  26. any, none, upnp, extip:<IP>. (default: any)
  27. --allow-ips=\[FILTER\]
  28. Filter outbound connections. Must be one of: private - connect to
  29. private network IP addresses only; public - connect to public network IP
  30. addresses only; all - connect to any IP address. (default: all)
  31. --max-pending-peers=\[NUM\]
  32. Allow up to NUM pending connections. (default: 64)
  33. --network-id=\[INDEX\]
  34. Override the network identifier from the chain we are on.
  35. --bootnodes=\[NODES\]
  36. Override the bootnodes from our chain. NODES should be comma-delimited
  37. enodes.
  38. --node-key=\[KEY\]
  39. Specify node secret key, either as 64-character hex string or input to
  40. SHA3 operation.
  41. --reserved-peers=\[FILE\]
  42. Provide a file containing enodes, one per line. These nodes will always
  43. have a reserved slot on top of the normal maximum peers.

API and Console Options – HTTP JSON-RPC:
—jsonrpc-allow-missing-blocks
RPC calls will return ‘null’ instead of an error if ancient block sync
is still in progress and the block information requested could not be
found

  1. --no-jsonrpc
  2. Disable the HTTP JSON-RPC API server.
  3. --jsonrpc-no-keep-alive
  4. Disable HTTP/1.1 keep alive header. Disabling keep alive will prevent
  5. re-using the same TCP connection to fire multiple requests, recommended
  6. when using one request per connection.
  7. --jsonrpc-experimental
  8. Enable experimental RPCs. Enable to have access to methods from
  9. unfinalised EIPs in all namespaces
  10. --jsonrpc-port=\[PORT\]
  11. Specify the port portion of the HTTP JSON-RPC API server. (default:
  12. 8545)
  13. --jsonrpc-interface=\[IP\]
  14. Specify the hostname portion of the HTTP JSON-RPC API server, IP should
  15. be an interface's IP address, or all (all interfaces) or local.
  16. (default: local)
  17. --jsonrpc-apis=\[APIS\]
  18. Specify the APIs available through the HTTP JSON-RPC interface using a
  19. comma-delimited list of API names. Possible names are: all, safe, debug,
  20. web3, net, eth, pubsub, personal, signer, parity, parity\_pubsub,
  21. parity\_accounts, parity\_set, traces, rpc, secretstore. You can also
  22. disable a specific API by putting '-' in the front, example:
  23. all,-personal. 'safe' enables the following APIs: web3, net, eth,
  24. pubsub, parity, parity\_pubsub, traces, rpc (default:
  25. web3,eth,pubsub,net,parity,private,parity\_pubsub,traces,rpc,parity\_trans
  26. actions\_pool)
  27. --jsonrpc-hosts=\[HOSTS\]
  28. List of allowed Host header values. This option will validate the Host
  29. header sent by the browser, it is additional security against some
  30. attack vectors. Special options: "all", "none",. (default: none)
  31. --jsonrpc-threads=\[NUM\]
  32. DEPRECATED, DOES NOTHING
  33. --jsonrpc-server-threads=\[NUM\]
  34. Enables multiple threads handling incoming connections for HTTP JSON-RPC
  35. server. (default: 4)
  36. --jsonrpc-cors=\[URL\]
  37. Specify CORS header for HTTP JSON-RPC API responses. Special options:
  38. "all", "none". (default: none)
  39. --jsonrpc-max-payload=\[MB\]
  40. Specify maximum size for HTTP JSON-RPC requests in megabytes.
  41. --poll-lifetime=\[S\]
  42. Set the RPC filter lifetime to S seconds. The filter has to be polled at
  43. least every S seconds , otherwise it is removed. (default: 60)

API and Console Options – WebSockets:
—no-ws
Disable the WebSockets JSON-RPC server.

  1. --ws-port=\[PORT\]
  2. Specify the port portion of the WebSockets JSON-RPC server. (default:
  3. 8546)
  4. --ws-interface=\[IP\]
  5. Specify the hostname portion of the WebSockets JSON-RPC server, IP
  6. should be an interface's IP address, or all (all interfaces) or local.
  7. (default: local)
  8. --ws-apis=\[APIS\]
  9. Specify the JSON-RPC APIs available through the WebSockets interface
  10. using a comma-delimited list of API names. Possible names are: all,
  11. safe, web3, net, eth, pubsub, personal, signer, parity, parity\_pubsub,
  12. parity\_accounts, parity\_set, traces, rpc, secretstore. You can also
  13. disable a specific API by putting '-' in the front, example:
  14. all,-personal. 'safe' enables the following APIs: web3, net, eth,
  15. pubsub, parity, parity\_pubsub, traces, rpc (default:
  16. web3,eth,pubsub,net,parity,parity\_pubsub,private,traces,rpc,parity\_trans
  17. actions\_pool)
  18. --ws-origins=\[URL\]
  19. Specify Origin header values allowed to connect. Special options: "all",
  20. "none". (default: parity://\*,chrome-extension://\*,moz-extension://\*)
  21. --ws-hosts=\[HOSTS\]
  22. List of allowed Host header values. This option will validate the Host
  23. header sent by the browser, it is additional security against some
  24. attack vectors. Special options: "all", "none". (default: none)
  25. --ws-max-connections=\[CONN\]
  26. Maximum number of allowed concurrent WebSockets JSON-RPC connections.
  27. (default: 100)

API and Console Options – IPC:
—no-ipc
Disable JSON-RPC over IPC service.

  1. --ipc-path=\[PATH\]
  2. Specify custom path for JSON-RPC over IPC service. (default:
  3. $BASE/jsonrpc.ipc)
  4. --ipc-chmod=\[NUM\]
  5. Specify octal value for ipc socket permissions (unix/bsd only) (default:
  6. 660)
  7. --ipc-apis=\[APIS\]
  8. Specify custom API set available via JSON-RPC over IPC using a comma
  9. -delimited list of API names. Possible names are: all, safe, web3,
  10. net, eth, pubsub, personal, signer, parity, parity\_pubsub,
  11. parity\_accounts, parity\_set, traces, rpc, secretstore. You can also
  12. disable a specific API by putting '-' in the front, example:
  13. all,-personal. 'safe' enables the following APIs: web3, net, eth,
  14. pubsub, parity, parity\_pubsub, traces, rpc (default:
  15. web3,eth,pubsub,net,parity,parity\_pubsub,parity\_accounts,private,traces,
  16. rpc,parity\_transactions\_pool)

API and Console Options – IPFS:
—ipfs-api
Enable IPFS-compatible HTTP API.

  1. --ipfs-api-port=\[PORT\]
  2. Configure on which port the IPFS HTTP API should listen. (default: 5001)
  3. --ipfs-api-interface=\[IP\]
  4. Specify the hostname portion of the IPFS API server, IP should be an
  5. interface's IP address or local. (default: local)
  6. --ipfs-api-hosts=\[HOSTS\]
  7. List of allowed Host header values. This option will validate the Host
  8. header sent by the browser, it is additional security against some
  9. attack vectors. Special options: "all", "none". (default: none)
  10. --ipfs-api-cors=\[URL\]
  11. Specify CORS header for IPFS API responses. Special options: "all",
  12. "none". (default: none)

Light Client Options:
—on-demand-time-window=[S]
Specify the maximum time to wait for a successful response

  1. --on-demand-start-backoff=\[S\]
  2. Specify light client initial backoff time for a request
  3. --on-demand-end-backoff=\[S\]
  4. Specify light client maximum backoff time for a request
  5. --on-demand-max-backoff-rounds=\[TIMES\]
  6. Specify light client maximum number of backoff iterations for a request
  7. --on-demand-consecutive-failures=\[TIMES\]
  8. Specify light client the number of failures for a request until it gets
  9. exponentially backed off

Secret Store Options:
—no-secretstore
Disable Secret Store functionality.

  1. --no-secretstore-http
  2. Disable Secret Store HTTP API.
  3. --no-secretstore-auto-migrate
  4. Do not run servers set change session automatically when servers set
  5. changes. This option has no effect when servers set is read from
  6. configuration file.
  7. --secretstore-http-cors=\[URL\]
  8. Specify CORS header for Secret Store HTTP API responses. Special
  9. options: "all", "none". (default: none)
  10. --secretstore-acl-contract=\[SOURCE\]
  11. Secret Store permissioning contract address source: none, registry
  12. (contract address is read from 'secretstore\_acl\_checker' entry in
  13. registry) or address. (default: registry)
  14. --secretstore-contract=\[SOURCE\]
  15. Secret Store Service contract address source: none, registry (contract
  16. address is read from 'secretstore\_service' entry in registry) or
  17. address.
  18. --secretstore-srv-gen-contract=\[SOURCE\]
  19. Secret Store Service server key generation contract address source:
  20. none, registry (contract address is read from
  21. 'secretstore\_service\_srv\_gen' entry in registry) or address.
  22. --secretstore-srv-retr-contract=\[SOURCE\]
  23. Secret Store Service server key retrieval contract address source: none,
  24. registry (contract address is read from 'secretstore\_service\_srv\_retr'
  25. entry in registry) or address.
  26. --secretstore-doc-store-contract=\[SOURCE\]
  27. Secret Store Service document key store contract address source: none,
  28. registry (contract address is read from 'secretstore\_service\_doc\_store'
  29. entry in registry) or address.
  30. --secretstore-doc-sretr-contract=\[SOURCE\]
  31. Secret Store Service document key shadow retrieval contract address
  32. source: none, registry (contract address is read from
  33. 'secretstore\_service\_doc\_sretr' entry in registry) or address.
  34. --secretstore-nodes=\[NODES\]
  35. Comma-separated list of other secret store cluster nodes in form
  36. NODE\_PUBLIC\_KEY\_IN\_HEX@NODE\_IP\_ADDR:NODE\_PORT. (default: )
  37. --secretstore-server-set-contract=\[SOURCE\]
  38. Secret Store server set contract address source: none, registry
  39. (contract address is read from 'secretstore\_server\_set' entry in
  40. registry) or address. (default: registry)
  41. --secretstore-interface=\[IP\]
  42. Specify the hostname portion for listening to Secret Store Key Server
  43. internal requests, IP should be an interface's IP address, or local.
  44. (default: local)
  45. --secretstore-port=\[PORT\]
  46. Specify the port portion for listening to Secret Store Key Server
  47. internal requests. (default: 8083)
  48. --secretstore-http-interface=\[IP\]
  49. Specify the hostname portion for listening to Secret Store Key Server
  50. HTTP requests, IP should be an interface's IP address, or local.
  51. (default: local)
  52. --secretstore-http-port=\[PORT\]
  53. Specify the port portion for listening to Secret Store Key Server HTTP
  54. requests. (default: 8082)
  55. --secretstore-path=\[PATH\]
  56. Specify directory where Secret Store should save its data. (default:
  57. $BASE/secretstore)
  58. --secretstore-secret=\[SECRET\]
  59. Hex-encoded secret key of this node.
  60. --secretstore-admin=\[PUBLIC\]
  61. Hex-encoded public key of secret store administrator.

Sealing/Mining Options:
—force-sealing
Force the node to author new blocks as if it were always sealing/mining.

  1. --reseal-on-uncle
  2. Force the node to author new blocks when a new uncle block is imported.
  3. --remove-solved
  4. Move solved blocks from the work package queue instead of cloning them.
  5. This gives a slightly faster import speed, but means that extra
  6. solutions submitted for the same work package will go unused.
  7. --tx-queue-no-unfamiliar-locals
  8. Local transactions sent through JSON-RPC (HTTP, WebSockets, etc) will be
  9. treated as 'external' if the sending account is unknown.
  10. --tx-queue-no-early-reject
  11. Disables transaction queue optimization to early reject transactions
  12. below minimal effective gas price. This allows local transactions to
  13. always enter the pool, despite it being full, but requires additional
  14. ecrecover on every transaction.
  15. --refuse-service-transactions
  16. Always refuse service transactions.
  17. --infinite-pending-block
  18. Pending block will be created with maximal possible gas limit and will
  19. execute all transactions in the queue. Note that such block is invalid
  20. and should never be attempted to be mined.
  21. --no-persistent-txqueue
  22. Don't save pending local transactions to disk to be restored whenever
  23. the node restarts.
  24. --stratum
  25. Run Stratum server for miner push notification.
  26. --reseal-on-txs=\[SET\]
  27. Specify which transactions should force the node to reseal a block. SET
  28. is one of: none - never reseal on new transactions; own - reseal only on
  29. a new local transaction; ext - reseal only on a new external
  30. transaction; all - reseal on all new transactions. (default: own)
  31. --reseal-min-period=\[MS\]
  32. Specify the minimum time between reseals from incoming transactions. MS
  33. is time measured in milliseconds. (default: 2000)
  34. --reseal-max-period=\[MS\]
  35. Specify the maximum time since last block to enable force-sealing. MS is
  36. time measured in milliseconds. (default: 120000)
  37. --work-queue-size=\[ITEMS\]
  38. Specify the number of historical work packages which are kept cached
  39. lest a solution is found for them later. High values take more memory
  40. but result in fewer unusable solutions. (default: 20)
  41. --relay-set=\[SET\]
  42. Set of transactions to relay. SET may be: cheap - Relay any transaction
  43. in the queue (this may include invalid transactions); strict - Relay
  44. only executed transactions (this guarantees we don't relay invalid
  45. transactions, but means we relay nothing if not mining); lenient - Same
  46. as strict when mining, and cheap when not. (default: cheap)
  47. --usd-per-tx=\[USD\]
  48. Amount of USD to be paid for a basic transaction. The minimum gas price
  49. is set accordingly. (default: 0.0001)
  50. --usd-per-eth=\[SOURCE\]
  51. USD value of a single ETH. SOURCE may be either an amount in USD, a web
  52. service or 'auto' to use each web service in turn and fallback on the
  53. last known good value. (default: auto)
  54. --price-update-period=\[T\]
  55. T will be allowed to pass between each gas price update. T may be daily,
  56. hourly, a number of seconds, or a time string of the form "2 days", "30
  57. minutes" etc.. (default: hourly)
  58. --gas-floor-target=\[GAS\]
  59. Amount of gas per block to target when sealing a new block. (default:
  60. 8000000)
  61. --gas-cap=\[GAS\]
  62. A cap on how large we will raise the gas limit per block due to
  63. transaction volume. (default: 10000000)
  64. --tx-queue-mem-limit=\[MB\]
  65. Maximum amount of memory that can be used by the transaction queue.
  66. Setting this parameter to 0 disables limiting. (default: 4)
  67. --tx-queue-size=\[LIMIT\]
  68. Maximum amount of transactions in the queue (waiting to be included in
  69. next block). (default: 8192)
  70. --tx-queue-per-sender=\[LIMIT\]
  71. Maximum number of transactions per sender in the queue. By default it's
  72. 1% of the entire queue, but not less than 16.
  73. --tx-queue-locals=\[ACCOUNTS\]
  74. Specify local accounts for which transactions are prioritized in the
  75. queue. ACCOUNTS is a comma-delimited list of addresses.
  76. --tx-queue-strategy=\[S\]
  77. Prioritization strategy used to order transactions in the queue. S may
  78. be: gas\_price - Prioritize txs with high gas price (default: gas\_price)
  79. --stratum-interface=\[IP\]
  80. Interface address for Stratum server. (default: local)
  81. --stratum-port=\[PORT\]
  82. Port for Stratum server to listen on. (default: 8008)
  83. --min-gas-price=\[STRING\]
  84. Minimum amount of Wei per GAS to be paid for a transaction to be
  85. accepted for mining. Overrides --usd-per-tx.
  86. --gas-price-percentile=\[PCT\]
  87. Set PCT percentile gas price value from last 100 blocks as default gas
  88. price when sending transactions. (default: 50)
  89. --author=\[ADDRESS\]
  90. Specify the block author (aka "coinbase") address for sending block
  91. rewards from sealed blocks. NOTE: MINING WILL NOT WORK WITHOUT THIS
  92. OPTION.
  93. --engine-signer=\[ADDRESS\]
  94. Specify the address which should be used to sign consensus messages and
  95. issue blocks. Relevant only to non-PoW chains.
  96. --tx-gas-limit=\[GAS\]
  97. Apply a limit of GAS as the maximum amount of gas a single transaction
  98. may have for it to be mined.
  99. --tx-time-limit=\[MS\]
  100. Maximal time for processing single transaction. If enabled senders of
  101. transactions offending the limit will get other transactions penalized.
  102. --extra-data=\[STRING\]
  103. Specify a custom extra-data for authored blocks, no more than 32
  104. characters.
  105. --notify-work=\[URLS\]
  106. URLs to which work package notifications are pushed. URLS should be a
  107. comma-delimited list of HTTP URLs.
  108. --stratum-secret=\[STRING\]
  109. Secret for authorizing Stratum server for peers.
  110. --max-round-blocks-to-import=\[S\]
  111. Maximal number of blocks to import for each import round. (default: 12)

Internal Options:
—can-restart
Executable will auto-restart if exiting with 69

Miscellaneous Options:
—no-color
Don’t use terminal color codes in output.

  1. -v, --version
  2. Show information about version.
  3. --no-config
  4. Don't load a configuration file.
  5. -l, --logging=\[LOGGING\]
  6. Specify the general logging level (error, warn, info, debug or trace).
  7. It can also be set for a specific module, example: '-l
  8. sync=debug,rpc=trace'
  9. --log-file=\[FILENAME\]
  10. Specify a filename into which logging should be appended.

Footprint Options:
—scale-verifiers
Automatically scale amount of verifier threads based on workload. Not
guaranteed to be faster.

  1. --tracing=\[BOOL\]
  2. Indicates if full transaction tracing should be enabled. Works only if
  3. client had been fully synced with tracing enabled. BOOL may be one of
  4. auto, on, off. auto uses last used value of this option (off if it does
  5. not exist). (default: auto)
  6. --pruning=\[METHOD\]
  7. Configure pruning of the state/storage trie. METHOD may be one of auto,
  8. archive, fast: archive - keep all state trie data. No pruning. fast -
  9. maintain journal overlay. Fast but 50MB used. auto - use the method most
  10. recently synced or default to fast if none synced. (default: auto)
  11. --pruning-history=\[NUM\]
  12. Set a minimum number of recent states to keep in memory when pruning is
  13. active. (default: 64)
  14. --pruning-memory=\[MB\]
  15. The ideal amount of memory in megabytes to use to store recent states.
  16. As many states as possible will be kept within this limit, and at least
  17. --pruning-history states will always be kept. (default: 32)
  18. --cache-size-db=\[MB\]
  19. Override database cache size. (default: 128)
  20. --cache-size-blocks=\[MB\]
  21. Specify the preferred size of the blockchain cache in megabytes.
  22. (default: 8)
  23. --cache-size-queue=\[MB\]
  24. Specify the maximum size of memory to use for block queue. (default: 40)
  25. --cache-size-state=\[MB\]
  26. Specify the maximum size of memory to use for the state cache. (default:
  27. 25)
  28. --db-compaction=\[TYPE\]
  29. Database compaction type. TYPE may be one of: ssd - suitable for SSDs
  30. and fast HDDs; hdd - suitable for slow HDDs; auto - determine
  31. automatically. (default: auto)
  32. --fat-db=\[BOOL\]
  33. Build appropriate information to allow enumeration of all accounts and
  34. storage keys. Doubles the size of the state database. BOOL may be one of
  35. on, off or auto. (default: auto)
  36. --cache-size=\[MB\]
  37. Set total amount of discretionary memory to use for the entire system,
  38. overrides other cache and queue options.
  39. --num-verifiers=\[INT\]
  40. Amount of verifier threads to use or to begin with, if verifier auto
  41. -scaling is enabled.

Import/export Options:
—no-seal-check
Skip block seal check.

Snapshot Options:
—no-periodic-snapshot
Disable automated snapshots which usually occur once every 5000 blocks.

  1. --snapshot-threads=\[NUM\]
  2. Enables multiple threads for snapshots creation.

Whisper Options:
—whisper
Does nothing. Whisper has been moved to
https://github.com/paritytech/whisper

  1. --whisper-pool-size=\[MB\]
  2. Does nothing. Whisper has been moved to
  3. https://github.com/paritytech/whisper

发表评论

表情:
评论列表 (有 0 条评论,274人围观)

还没有评论,来说两句吧...

相关阅读

    相关 parity安装

    写在前面: Ethereum目前有两种节点,分别是go-ethereum(简称geth)和Parity。因为Parity出现的时间较晚,解决了geth节点中的许多问题,拥