Merge pull request #22350 from karalabe/disable-preimage-collection

cmd/utils: disable caching preimages by default
This commit is contained in:
Péter Szilágyi 2021-02-23 19:29:36 +02:00 committed by GitHub
commit cdb6a84339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -401,9 +401,9 @@ var (
Name: "cache.noprefetch",
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",
Usage: "Enable recording the SHA3/keccak preimages of trie keys (default: true)",
Usage: "Enable recording the SHA3/keccak preimages of trie keys",
}
// Miner settings
MiningEnabledFlag = cli.BoolFlag{