go-ethereum/cmd
ozpool 455f6338e6 cmd/geth: report disk space cleared on prune-history completion
Fixes #31916. Snapshot the on-disk size of the prunable chain-freezer
tables (bodies and receipts) before and after the prune step, and
include the delta as cleared= on the existing "History pruning
completed" log line. Operators see the impact of the run immediately
without inspecting the data directory by hand.

The header and hash tables are intentionally excluded from the
measurement because they are configured with prunable=false and are
never truncated. If AncientSize fails for any table the helper
returns 0 so the log shows "cleared=0.00 B" rather than a partial,
misleading figure.
2026-06-15 13:09:06 +05:30
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen: respect --v2=false (#34943) 2026-05-12 09:02:40 -04:00
blsync beacon/blsync: add checkpoint import/export file feature (#31469) 2025-04-03 16:04:11 +02:00
devp2p core, eth/protocols/snap, eth/downloader: snap/2 sync logic (#34626) 2026-06-11 14:45:07 +08:00
era internal/era: update to latest ere spec (#34896) 2026-06-03 11:52:10 +02:00
ethkey cmd: fix some typos in readmes (#29405) 2024-04-11 14:06:49 +03:00
evm core: implement EIP-8037, state creation gas cost increase (#33601) 2026-06-12 14:29:03 +02:00
fetchpayload cmd/fetchpayload: add payload-building utility (#33919) 2026-03-11 16:18:42 +01:00
geth cmd/geth: report disk space cleared on prune-history completion 2026-06-15 13:09:06 +05:30
keeper core/state/snapshot: snapshot generation shutdown race condition (#33540) 2026-06-04 21:22:58 -05:00
rlpdump build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
utils internal/memlimit: respect cgroup memory cap (#34947) 2026-06-12 13:31:15 +02:00
workload core/history: refactor pruning configuration (#34036) 2026-03-18 13:54:29 +01:00