diff --git a/docs/features/Ancient Pruner.md b/docs/features/Ancient Pruner.md new file mode 100644 index 0000000000..9ba31215e2 --- /dev/null +++ b/docs/features/Ancient Pruner.md @@ -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. +