mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
add doc for Ancient Pruner
This commit is contained in:
parent
77af6bf3ca
commit
921f30f655
1 changed files with 7 additions and 0 deletions
7
docs/features/Ancient Pruner.md
Normal file
7
docs/features/Ancient Pruner.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Ancient Pruner
|
||||
|
||||
## Why
|
||||
The chain freezer improves efficiency by moving the ancient chain items into their own flat files. This allows us to split the database into an active set, which requires a fast SSD disk, and an immutable freezer set, for which a slower HDD disk is sufficient.
|
||||
|
||||
However, for Geth running as a state node, ancient data is not needed and it's more beneficial to delete it directly. If the user enables "ancient.prune", the system will completely discard the ancient blocks instead of writing them to the freezer database.
|
||||
|
||||
Loading…
Reference in a new issue