go-ethereum/eth
gary rong 23524f8900
all: disable recording preimage of trie keys (#21402)
* cmd, core, eth, light, trie: disable recording preimage by default

* core, eth: fix unit tests

* core: fix import

* all: change to nopreimage

* cmd, core, eth, trie: use cache.preimages flag

* cmd: enable preimages for archive node

* cmd/utils, trie: simplify preimage tracking a bit

* core: fix linter

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2020-11-18 11:51:33 +02:00
..
downloader all: replace RWMutex with Mutex in places where RLock is not used (#21622) 2020-10-13 10:58:41 +02:00
fetcher core, eth, les, trie: add a prefix to contract code (#21080) 2020-08-21 15:10:40 +03:00
filters all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
gasprice cmd, eth: offer maxprice flag for overwritting price cap (#21531) 2020-09-09 18:38:47 +03:00
tracers core, all: split vm.Context into BlockContext and TxContext (#21672) 2020-11-13 13:42:19 +01:00
api.go eth/api: fix potential nil deref in AccountRange (#21710) 2020-10-20 20:19:21 +02:00
api_backend.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2020-11-13 13:42:19 +01:00
api_test.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
api_tracer.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
backend.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
bloombits.go eth: updated comments (#21490) 2020-08-26 13:20:12 +03:00
config.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
discovery.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
gen_config.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
handler.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
handler_test.go eth: increase timeout in TestBroadcastBlock (#21299) 2020-07-08 11:50:26 +02:00
helper_test.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
peer.go eth: use maxQueuedTxAnns for to limit the number of transactions announced (#21419) 2020-08-06 15:19:00 +03:00
protocol.go eth: rework tx fetcher to use O(1) ops + manage network requests 2020-02-13 15:27:15 +02:00
protocol_test.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
sync.go core: define and test chain rewind corner cases (#21409) 2020-08-20 13:01:24 +03:00
sync_test.go eth: improve shutdown synchronization (#20695) 2020-03-27 15:03:20 +02:00