cmd/geth: add db-command to inspect freezer index (#22633)

This PR makes it easier to inspect the freezer index, which could be useful to investigate things like #22111
This commit is contained in:
Martin Holst Swende
2021-04-13 15:45:30 +02:00
committed by GitHub
parent 6c27d8f996
commit 271e5b7fc9
5 changed files with 72 additions and 15 deletions

View File

@ -114,9 +114,9 @@ const (
freezerDifficultyTable = "diffs"
)
// freezerNoSnappy configures whether compression is disabled for the ancient-tables.
// FreezerNoSnappy configures whether compression is disabled for the ancient-tables.
// Hashes and difficulties don't compress well.
var freezerNoSnappy = map[string]bool{
var FreezerNoSnappy = map[string]bool{
freezerHeaderTable: false,
freezerHashTable: true,
freezerBodiesTable: false,