diff --git a/.env.mainnet b/.env.mainnet index edf63ada..58f54ab6 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -96,3 +96,9 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws + +# PRUNING (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) +# NOTE: Pruning snapshots are not yet available +# NOTE: Set to any number of blocks you want, but it should be >10064 +# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/). +# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000" diff --git a/.env.sepolia b/.env.sepolia index 526c0520..f7718712 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -96,3 +96,9 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws + +# PRUNING (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) +# NOTE: Pruning snapshots are not yet available +# NOTE: Set to any number of blocks you want, but it should be >10064 +# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/). +# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000"