plugeth/cmd
rjl493456442 59f7b289c3
cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525)
The clean trie cache is persisted periodically, therefore Geth can
quickly warmup the cache in next restart.

However it will reduce the robustness of system. The assumption is
held in Geth that if the parent trie node is present, then the entire
sub-trie associated with the parent are all prensent.

Imagine the scenario that Geth rewinds itself to a past block and
restart, but Geth finds the root node of "future state" in clean
cache then regard this state is present in disk, while is not in fact.

Another example is offline pruning tool. Whenever an offline pruning
is performed, the clean cache file has to be removed to aviod hitting
the root node of "deleted states" in clean cache.

All in all, compare with the minor performance gain, system robustness
is something we care more.
2023-07-04 10:21:06 +03:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen accounts, build, mobile: remove Andriod and iOS support 2023-02-03 12:29:07 +02:00
bootnode cmd/bootnode, cmd/utils: add 'pmp:<IP>' to --nat flag description (#26381) 2023-01-16 11:21:41 +01:00
clef node: fix listening on IPv6 address (#27628) (#27635) 2023-07-02 13:21:16 +02:00
devp2p cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525) 2023-07-04 10:21:06 +03:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
faucet node: remove unused error return from Attach (#27450) 2023-06-14 08:24:47 -04:00
geth cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525) 2023-07-04 10:21:06 +03:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
rlpdump all: change format 0x%x to %#x (#25221) 2022-07-04 11:03:32 +03:00
utils cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525) 2023-07-04 10:21:06 +03:00