aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-11-15 20:42:19 +0800
committerGitHub <noreply@github.com>2018-11-15 20:42:19 +0800
commit17d67c5834679f2b27ef08eddfce3b3a154a96a8 (patch)
tree3989575655db27f02641bf1fc7d96f87a9441ebb /cmd/geth
parent14346e4ef97ca812fb9f1d5d2cd87021c0155cf6 (diff)
parent434dd5bc0067cdf604d84426df9086015721dd36 (diff)
downloaddexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.gz
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.bz2
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.lz
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.xz
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.zst
dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.zip
Merge pull request #18087 from karalabe/trie-read-cacher
cmd, core, eth, light, trie: add trie read caching layer
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 0288b3380..69802a48a 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -89,6 +89,7 @@ var (
utils.LightKDFFlag,
utils.CacheFlag,
utils.CacheDatabaseFlag,
+ utils.CacheTrieFlag,
utils.CacheGCFlag,
utils.TrieCacheGenFlag,
utils.ListenPortFlag,
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index 8b0491ce3..82f17e0ee 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -132,6 +132,7 @@ var AppHelpFlagGroups = []flagGroup{
Flags: []cli.Flag{
utils.CacheFlag,
utils.CacheDatabaseFlag,
+ utils.CacheTrieFlag,
utils.CacheGCFlag,
utils.TrieCacheGenFlag,
},