go-ethereum/core/state
gary rong 26d271dfbb
core/state/snapshot: implement storage iterator (#20971)
* core/state/snapshot: implement storage iterator

* core/state/snapshot, tests: implement helper function

* core/state/snapshot: fix storage issue

If an account is deleted in the tx_1 but recreated in the tx_2,
the it can happen that in this diff layer, both destructedSet
and storageData records this account. In this case, the storage
iterator should be able to iterate the slots belong to new account
but disable further iteration in deeper layers(belong to old account)

* core/state/snapshot: address peter and martin's comment

* core/state: address comments

* core/state/snapshot: fix test
2020-04-29 12:53:08 +03:00
..
snapshot core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
database.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
dump.go eth: add debug_accountRange API (#19645) 2020-03-31 12:08:44 +02:00
iterator.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
iterator_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
journal.go core: fix two snapshot iterator flaws, decollide snap storage prefix 2020-03-23 12:34:27 +02:00
state_object.go core/state: fix resurrection state clearing and access 2020-03-04 10:22:48 +02:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_test.go core: fix broken tests due to API changes + linter 2020-02-25 12:51:16 +02:00
statedb.go core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
statedb_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
sync.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
sync_test.go core: fix broken tests due to API changes + linter 2020-02-25 12:51:16 +02:00