Skip to content

Commit 863c9bd

Browse files
authored
chore: add pruning args to env file (#682)
* add pruning args to env file * add disclaimers * update
1 parent 97fb39a commit 863c9bd

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.env.mainnet

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,9 @@ STATSD_ADDRESS="172.17.0.1"
9696

9797
# FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE)
9898
# RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws
99+
100+
# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE)
101+
# NOTE: Set to any number of blocks you want, but it should be >10064
102+
# 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/).
103+
# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days).
104+
# 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"

.env.sepolia

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,9 @@ STATSD_ADDRESS="172.17.0.1"
9696

9797
# FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE)
9898
# RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws
99+
100+
# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE)
101+
# NOTE: Set to any number of blocks you want, but it should be >10064
102+
# 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/).
103+
# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days).
104+
# 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"

0 commit comments

Comments
 (0)