cmd/utils, eth: relinquish GC cache to read cache in archive mode

This commit is contained in:
Péter Szilágyi
2019-02-05 12:49:59 +02:00
parent 85b3b1c8d6
commit d6225ab846
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{