You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Controls height-based pruning of stored block data (headers, data, signatures, and index) from the local store. When pruning is enabled, the node periodically deletes old blocks while keeping a recent window of history. When disabled, the node keeps all blocks (archive mode).
287
+
288
+
**YAML:**
289
+
290
+
```yaml
291
+
node:
292
+
pruning_enabled: true
293
+
pruning_keep_recent: 100000
294
+
pruning_interval: 1000
295
+
```
296
+
297
+
**Command-line Flags:**
298
+
299
+
- `--evnode.node.pruning_enabled`(boolean)
300
+
- _Description:_ Enable height-based pruning of stored block data. When disabled, all blocks are kept (archive mode).
301
+
- `--evnode.node.pruning_keep_recent <uint64>`
302
+
- _Description:_ Number of most recent blocks to retain when pruning is enabled. Must be > 0 when pruning is enabled; set `pruning_enabled=false` to keep all blocks.
303
+
- `--evnode.node.pruning_interval <uint64>`
304
+
- _Description:_ Run pruning every N blocks. Must be >= 1 when pruning is enabled.
0 commit comments