Skip to content

Commit c49feff

Browse files
[paradigmxyz#10645] docs(prune): replace prune parts by segments (paradigmxyz#10647)
Co-authored-by: GROOOOAAAARK <t01_n10@protonmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
1 parent 61fe0ea commit c49feff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

book/run/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ i.e. keep the data for the last `100_000` blocks
352352
# Minimum pruning interval measured in blocks
353353
block_interval = 5
354354

355-
[prune.parts]
355+
[prune.segments]
356356
# Sender Recovery pruning configuration
357357
sender_recovery = { distance = 100_000 } # Prune all transaction senders before the block `head-100000`, i.e. keep transaction senders for the last 100001 blocks
358358

@@ -373,7 +373,7 @@ We can also prune receipts more granular, using the logs filtering:
373373
```toml
374374
# Receipts pruning configuration by retaining only those receipts that contain logs emitted
375375
# by the specified addresses, discarding all others. This setting is overridden by `receipts`.
376-
[prune.parts.receipts_log_filter]
376+
[prune.segments.receipts_log_filter]
377377
# Prune all receipts, leaving only those which:
378378
# - Contain logs from address `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`, starting from the block 17000000
379379
# - Contain logs from address `0xdac17f958d2ee523a2206206994597c13d831ec7` in the last 1001 blocks

book/run/pruning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ Essentially, the full node is the same as following configuration for the pruned
8080
[prune]
8181
block_interval = 5
8282

83-
[prune.parts]
83+
[prune.segments]
8484
sender_recovery = "full"
8585
# transaction_lookup is not pruned
8686
receipts = { before = 11052984 } # Beacon Deposit Contract deployment block: https://etherscan.io/tx/0xe75fb554e433e03763a1560646ee22dcb74e5274b34c5ad644e7c0f619a7e1d0
8787
account_history = { distance = 10_064 }
8888
storage_history = { distance = 10_064 }
8989

90-
[prune.parts.receipts_log_filter]
90+
[prune.segments.receipts_log_filter]
9191
# Prune all receipts, leaving only those which contain logs from address `0x00000000219ab540356cbb839cbe05303d7705fa`,
9292
# starting from the block 11052984. This leaves receipts with the logs from the Beacon Deposit Contract.
9393
"0x00000000219ab540356cbb839cbe05303d7705fa" = { before = 11052984 }

0 commit comments

Comments
 (0)