From c6d07794a0da4cead7f4c3f254aa5fca81d1a494 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 28 Nov 2025 10:45:43 -0500 Subject: [PATCH 1/3] add pruning args to env file --- .env.mainnet | 4 ++++ .env.sepolia | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.env.mainnet b/.env.mainnet index edf63ada..d295de6c 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -96,3 +96,7 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws + +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) +# NOTE: Set any number of blocks you want, but it should be >10064 +# 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..3ae55265 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -96,3 +96,7 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws + +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) +# NOTE: Set any number of blocks you want, but it should be >10064 +# 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" From 10fb88234c99cbbf4551a27e6d0d63c45a85ef53 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 28 Nov 2025 10:51:06 -0500 Subject: [PATCH 2/3] add disclaimers --- .env.mainnet | 6 ++++-- .env.sepolia | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.mainnet b/.env.mainnet index d295de6c..58f54ab6 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -97,6 +97,8 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws -# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) -# NOTE: Set any number of blocks you want, but it should be >10064 +# 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 3ae55265..f7718712 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -97,6 +97,8 @@ STATSD_ADDRESS="172.17.0.1" # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws -# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) -# NOTE: Set any number of blocks you want, but it should be >10064 +# 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" From a248fef848c0a5ef6cb9a10d9c9661032b0f5ba6 Mon Sep 17 00:00:00 2001 From: William Law Date: Mon, 26 Jan 2026 09:59:26 -0500 Subject: [PATCH 3/3] update --- .env.mainnet | 4 ++-- .env.sepolia | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.mainnet b/.env.mainnet index 58f54ab6..ee935426 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -97,8 +97,8 @@ 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 +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) # 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/). +# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days). # 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 f7718712..b78fc872 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -97,8 +97,8 @@ 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 +# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE) # 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/). +# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days). # 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"