go-ethereum/core/state
gary rong e6402677c2
core/state/snapshot: fix journal recovery from generating old journal (#21775)
* core/state/snapshot: print warning if failed to resolve journal

* core/state/snapshot: fix snapshot recovery

When we meet the snapshot journal consisted with:
- disk layer generator with new-format
- diff layer journal with old-format

The base layer should be returned without error.
The broken diff layer can be reconstructed later
but we definitely don't want to reconstruct the
huge diff layer.

* core: add tests
2020-11-04 13:41:46 +02:00
..
snapshot core/state/snapshot: fix journal recovery from generating old journal (#21775) 2020-11-04 13:41:46 +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 core, eth, les, trie: add a prefix to contract code (#21080) 2020-08-21 15:10:40 +03: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 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +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 core/state: maintain one more diff layer (#21730) 2020-10-28 14:00:22 +02:00
sync_test.go core, eth, trie: prepare trie sync for path based operation 2020-09-02 13:21:32 +03:00
sync.go core/state, eth, trie: stabilize memory use, fix memory leak 2020-08-26 13:05:06 +03:00