erigon-pulse/ethdb
Alex Sharov fdbba5202b
Trie: store self-destructed accounts (#355)
* squash commits

* enable storage cache

* make linter happy

* fix subtree prefix len check

* save cahnges to test master

* remove restriction on prefix len

* fix comparison of last bits

* fix wrong alignment

* remove debug prints

* commit current state

* commit current state

* avoid changing state of resolver from multiwalk

* remove debug code

* remove debug code

* remove debug code

* remove unnecessary copy

* make code more readable

* reduce rebuildHashes initial resolution

* fix test after rebase to master

* make code more readable

* improve pruner

* pruner add IntermediateCache bucket

* fix panic in Walk on short keys

* reduce allocations for storage keys decompression by increasing default buffer size

* re-run CI

* fix iterator behaviour

* rename cache to hash for unification

* re-run ci

* avoid using underlying DB

* hash all subtree nodes before unload

* fix getNode method

* need to check node type, not parent - before put to hashBucket

* return back parent type check, doesn't work without it.

* don't recalculate hash again

* move unloadFunc from trie to pruner

* rename bucket to shorter name

* rename bucket to shorter name

* clean

* rebase to master
2020-02-12 13:52:59 +00:00
..
codecpool Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
dbtest Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
remote Trie: store self-destructed accounts (#355) 2020-02-12 13:52:59 +00:00
typedbucket Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
badger_db.go made changeSet an helper type (#314) 2020-01-15 20:51:10 +00:00
bolt_db.go Trie: store self-destructed accounts (#355) 2020-02-12 13:52:59 +00:00
boltdb_test.go made changeSet an helper type (#314) 2020-01-15 20:51:10 +00:00
database_test.go BadgerDB: MultiWalk & some other APIs, command line flag, scaffolding for testing (#183) 2019-11-21 16:12:38 +01:00
encoding_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
encoding.go made changeSet an helper type (#314) 2020-01-15 20:51:10 +00:00
ethdb_unix.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
history_index_test.go Thin history for storage (#324) 2020-01-15 17:55:43 +03:00
history_index.go made changeSet an helper type (#314) 2020-01-15 20:51:10 +00:00
id.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
interface.go Serve GetNodeData for nodes in memory (Issue #300) 2020-02-06 11:53:09 +01:00
iterator.go core, eth, trie: bloom filter for trie node dedup during fast sync (#19489) 2019-05-13 15:28:01 +03:00
memory_database.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
mutation_test.go made changeSet an helper type (#314) 2020-01-15 20:51:10 +00:00
mutation.go Tx pool use triedbstate, fixes to GetNodeData and move it to experimental (#364) 2020-02-10 17:05:32 +00:00
storage_index.go Thin history for storage (#324) 2020-01-15 17:55:43 +03:00
walk.go Copy values from the ChangeSet bucket during Rewind (#348) 2020-02-01 16:24:38 +00:00