go-ethereum/core/state
Martin Holst Swende b44f24e3e6
core, trie: speed up some tests with quadratic processing flaw (#21987)
This commit fixes a flaw in two testcases, and brings down the exec-time from ~40s to ~8s for trie/TestIncompleteSync.

The checkConsistency was performed over and over again on the complete set of nodes, not just the recently added, turning it into a quadratic runtime.
2020-12-10 14:48:32 +01:00
..
snapshot core/state/snapshot: update generator marker in sync with flushes 2020-11-09 16:03:58 +02:00
access_list.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-10-23 08:26:57 +02:00
database.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
dump.go cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
iterator_test.go core, eth, les, trie: add a prefix to contract code (#21080) 2020-08-21 15:10:40 +03:00
iterator.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
journal.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-10-23 08:26:57 +02:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_object.go accouts, consensus, core: fix some comments (#21617) 2020-10-12 15:02:38 +02:00
state_test.go all: disable recording preimage of trie keys (#21402) 2020-11-18 11:51:33 +02:00
statedb_test.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-10-23 08:26:57 +02:00
statedb.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
sync_test.go core, trie: speed up some tests with quadratic processing flaw (#21987) 2020-12-10 14:48:32 +01:00
sync.go core/state, eth, trie: stabilize memory use, fix memory leak 2020-08-26 13:05:06 +03:00