mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: expose PruneConfig in CLI args (#10639)
Co-authored-by: garwah <garwah@garwah> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
55
book/cli/reth/node.md
vendored
55
book/cli/reth/node.md
vendored
@ -580,7 +580,60 @@ Dev testnet:
|
||||
|
||||
Pruning:
|
||||
--full
|
||||
Run full node. Only the most recent [`MINIMUM_PRUNING_DISTANCE`] block states are stored. This flag takes priority over pruning configuration in reth.toml
|
||||
Run full node. Only the most recent [`MINIMUM_PRUNING_DISTANCE`] block states are stored
|
||||
|
||||
--block-interval <BLOCK_INTERVAL>
|
||||
Minimum pruning interval measured in blocks
|
||||
|
||||
[default: 0]
|
||||
|
||||
--prune.senderrecovery.full
|
||||
Prunes all sender recovery data
|
||||
|
||||
--prune.senderrecovery.distance <BLOCKS>
|
||||
Prune sender recovery data before the `head-N` block number. In other words, keep last N + 1 blocks
|
||||
|
||||
--prune.senderrecovery.before <BLOCK_NUMBER>
|
||||
Prune sender recovery data before the specified block number. The specified block number is not pruned
|
||||
|
||||
--prune.transactionlookup.full
|
||||
Prunes all transaction lookup data
|
||||
|
||||
--prune.transactionlookup.distance <BLOCKS>
|
||||
Prune transaction lookup data before the `head-N` block number. In other words, keep last N + 1 blocks
|
||||
|
||||
--prune.transactionlookup.before <BLOCK_NUMBER>
|
||||
Prune transaction lookup data before the specified block number. The specified block number is not pruned
|
||||
|
||||
--prune.receipts.full
|
||||
Prunes all receipt data
|
||||
|
||||
--prune.receipts.distance <BLOCKS>
|
||||
Prune receipts before the `head-N` block number. In other words, keep last N + 1 blocks
|
||||
|
||||
--prune.receipts.before <BLOCK_NUMBER>
|
||||
Prune receipts before the specified block number. The specified block number is not pruned
|
||||
|
||||
--prune.accounthistory.full
|
||||
Prunes all account history
|
||||
|
||||
--prune.accounthistory.distance <BLOCKS>
|
||||
Prune account before the `head-N` block number. In other words, keep last N + 1 blocks
|
||||
|
||||
--prune.accounthistory.before <BLOCK_NUMBER>
|
||||
Prune account history before the specified block number. The specified block number is not pruned
|
||||
|
||||
--prune.storagehistory.full
|
||||
Prunes all storage history data
|
||||
|
||||
--prune.storagehistory.distance <BLOCKS>
|
||||
Prune storage history before the `head-N` block number. In other words, keep last N + 1 blocks
|
||||
|
||||
--prune.storagehistory.before <BLOCK_NUMBER>
|
||||
Prune storage history before the specified block number. The specified block number is not pruned
|
||||
|
||||
--prune.receiptslogfilter <FILTER_CONFIG>
|
||||
Configure receipts log filter. Format: <`address`>:<`prune_mode`>[,<`address`>:<`prune_mode`>...] Where <`prune_mode`> can be 'full', 'distance:<`blocks`>', or 'before:<`block_number`>'
|
||||
|
||||
Engine:
|
||||
--engine.experimental
|
||||
|
||||
Reference in New Issue
Block a user