Martin Holst Swende
|
6402c42b67
|
all: simplify and fix database iteration with prefix/start (#20808)
* core/state/snapshot: start fixing disk iterator seek
* ethdb, rawdb, leveldb, memorydb: implement iterators with prefix and start
* les, core/state/snapshot: iterator fixes
* all: remove two iterator methods
* all: rename Iteratee.NewIteratorWith -> NewIterator
* ethdb: fix review concerns
|
5 years ago |
Martin Holst Swende
|
76eed9e50d
|
snapshotter/tests: verify snapdb post-state against trie (#20812)
* core/state/snapshot: basic trie-to-hash implementation
* tests: validate snapshot after test
* core/state/snapshot: fix review concerns
|
5 years ago |
Martin Holst Swende
|
074efe6c8d
|
core: fix two snapshot iterator flaws, decollide snap storage prefix
* core/state/snapshot/iterator: fix two disk iterator flaws
* core/rawdb: change SnapshotStoragePrefix to avoid prefix collision with preimagePrefix
|
5 years ago |
Péter Szilágyi
|
fab0ee3bfa
|
core/state/snapshot: fix various iteration issues due to destruct set
|
5 years ago |
Martin Holst Swende
|
eff7cfbb03
|
core/state/snapshot: handle deleted accounts in fast iterator
|
5 years ago |
Péter Szilágyi
|
a4cf279494
|
core/state: extend snapshotter to handle account resurrections
|
5 years ago |
Péter Szilágyi
|
6e05ccd845
|
core/state/snapshot, tests: sync snap gen + snaps in consensus tests
|
5 years ago |
Péter Szilágyi
|
06d4470b41
|
core: fix broken tests due to API changes + linter
|
5 years ago |
Martin Holst Swende
|
19099421dc
|
core/state/snapshot: faster account iteration, CLI integration
|
5 years ago |
Péter Szilágyi
|
6ddb92a089
|
core/state/snapshot: full featured account iteration
|
5 years ago |
Martin Holst Swende
|
e570835356
|
core/state/snapshot: implement iterator priority for fast direct data lookup
|
5 years ago |
Péter Szilágyi
|
e567675473
|
core/state/snapshot: move iterator out into its own files
|
5 years ago |
Martin Holst Swende
|
7e38996301
|
core/state/snapshot: implement snapshot layer iteration
|
5 years ago |
Péter Szilágyi
|
22c494d399
|
core/state/snapshot: bloom, metrics and prefetcher fixes
|
5 years ago |
Martin Holst Swende
|
3ad4335acc
|
core/state/snapshot: node behavioural difference on bloom content
|
5 years ago |
Péter Szilágyi
|
fd39f722a3
|
core: journal the snapshot inside leveldb, not a flat file
|
5 years ago |
Martin Holst Swende
|
d5d7c0c24b
|
core/state/snapshot: fix difflayer origin-initalization after flatten
|
5 years ago |
Péter Szilágyi
|
351a5903b0
|
core/rawdb, core/state/snapshot: runtime snapshot generation
|
5 years ago |
Martin Holst Swende
|
f300c0df01
|
core/state/snapshot: replace bigcache with fastcache
|
5 years ago |
Péter Szilágyi
|
d754091a87
|
core/state/snapshot: unlink snapshots from blocks, quad->linear cleanup
|
5 years ago |
Martin Holst Swende
|
cdf3f016df
|
snapshot: iteration and buffering optimizations
|
5 years ago |
Péter Szilágyi
|
d7d81d7c12
|
core/state/snapshot: extract and split cap method, cover corners
|
5 years ago |
Martin Holst Swende
|
e146fbe4e7
|
core/state: lazy sorting, snapshot invalidation
|
5 years ago |
Péter Szilágyi
|
542df8898e
|
core: initial version of state snapshots
|
5 years ago |