Merge pull request #18991 from karalabe/archive-write-cache

cmd/utils, eth: relinquish GC cache to read cache in archive mode
This commit is contained in:
Péter Szilágyi
2019-02-07 16:03:43 +02:00
committed by GitHub
7 changed files with 24 additions and 17 deletions

View File

@ -332,12 +332,12 @@ var (
}
CacheTrieFlag = cli.IntFlag{
Name: "cache.trie",
Usage: "Percentage of cache memory allowance to use for trie caching",
Usage: "Percentage of cache memory allowance to use for trie caching (default = 25% full mode, 50% archive mode)",
Value: 25,
}
CacheGCFlag = cli.IntFlag{
Name: "cache.gc",
Usage: "Percentage of cache memory allowance to use for trie pruning",
Usage: "Percentage of cache memory allowance to use for trie pruning (default = 25% full mode, 0% archive mode)",
Value: 25,
}
TrieCacheGenFlag = cli.IntFlag{