Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felföldi Zsolt
80bdab757d
ethdb: add DeleteRange feature ( #30668 )
...
This PR adds `DeleteRange` to `ethdb.KeyValueWriter`. While range
deletion using an iterator can be really slow, `DeleteRange` is natively
supported by pebble and apparently runs in O(1) time (typically 20-30ms
in my tests for removing hundreds of millions of keys and gigabytes of
data). For leveldb and memorydb an iterator based fallback is
implemented. Note that since the iterator method can be slow and a
database function should not unexpectedly block for a very long time,
the number of deleted keys is limited at 10000 which should ensure that
it does not block for more than a second. ErrTooManyKeys is returned if
the range has only been partially deleted. In this case the caller can
repeat the call until it finally succeeds.
1 month ago
..
trienode
ethdb: add DeleteRange feature ( #30668 )
1 month ago
utils
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates ( #30357 )
3 months ago
committer.go
trie: concurrent commit ( #30545 )
1 month ago
database_test.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
encoding.go
trie: reduce allocs in recHash ( #27770 )
1 year ago
encoding_test.go
trie: reduce allocs in recHash ( #27770 )
1 year ago
errors.go
all: fix various typos ( #29600 )
7 months ago
hasher.go
core/rawdb, trie: improve db APIs for accessing trie nodes ( #29362 )
7 months ago
iterator.go
trie: iterate values pre-order and fix seek behavior ( #27838 )
6 months ago
iterator_test.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
node.go
core, trie: rework trie database ( #26813 )
2 years ago
node_enc.go
core, trie: rework trie database ( #26813 )
2 years ago
node_test.go
trie: improve node rlp decoding performance ( #25357 )
2 years ago
proof.go
all: fix various typos ( #29600 )
7 months ago
proof_test.go
all: fix mismatched names in comments ( #29348 )
8 months ago
secure_trie.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
secure_trie_test.go
core/state, eth/protocols, trie, triedb/pathdb: remove unused error from trie Commit ( #29869 )
6 months ago
stacktrie.go
eth/protocols/snap: cleanup dangling account trie nodes due to incomplete storage ( #30258 )
3 months ago
stacktrie_fuzzer_test.go
core/state, eth/protocols, trie, triedb/pathdb: remove unused error from trie Commit ( #29869 )
6 months ago
stacktrie_test.go
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
sync.go
trie: update the `valid` function comments ( #29809 )
6 months ago
sync_test.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
tracer.go
trie, consensus/clique: use maps.Clone ( #29616 )
7 months ago
tracer_test.go
core/state, eth/protocols, trie, triedb/pathdb: remove unused error from trie Commit ( #29869 )
6 months ago
trie.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
trie_id.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_reader.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
trie_test.go
ethdb: add DeleteRange feature ( #30668 )
1 month ago
verkle.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
1 month ago
verkle_test.go
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates ( #30357 )
3 months ago