cmd/utils: disable caching preimages by default

This commit is contained in:
Péter Szilágyi 2021-02-19 15:53:05 +02:00
parent c027507e03
commit ca76db6116
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -401,9 +401,9 @@ var (
Name: "cache.noprefetch", Name: "cache.noprefetch",
Usage: "Disable heuristic state prefetch during block import (less CPU and disk IO, more time waiting for data)", Usage: "Disable heuristic state prefetch during block import (less CPU and disk IO, more time waiting for data)",
} }
CachePreimagesFlag = cli.BoolTFlag{ CachePreimagesFlag = cli.BoolFlag{
Name: "cache.preimages", Name: "cache.preimages",
Usage: "Enable recording the SHA3/keccak preimages of trie keys (default: true)", Usage: "Enable recording the SHA3/keccak preimages of trie keys",
} }
// Miner settings // Miner settings
MiningEnabledFlag = cli.BoolFlag{ MiningEnabledFlag = cli.BoolFlag{