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.
4 weeks ago
..
ancienttest
core/rawdb: implement in-memory freezer ( #29135 )
7 months ago
testdata
core/rawdb: avoid unnecessary receipt processing for log filtering ( #23147 )
3 years ago
accessors_chain.go
core/rawdb: remove unused deriveLogFields ( #29913 )
6 months ago
accessors_chain_test.go
build: update to golangci-lint 1.61.0 ( #30587 )
1 month ago
accessors_indexes.go
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
2 years ago
accessors_indexes_test.go
all: refactor so `NewBlock`, `WithBody` take `types.Body` ( #29482 )
7 months ago
accessors_metadata.go
Revert "core/rawdb: remove unused transition status state accessors" ( #30449 )
2 months ago
accessors_snapshot.go
all: fix various typos ( #29542 )
7 months ago
accessors_state.go
all: implement path-based state scheme ( #25963 )
1 year ago
accessors_sync.go
core, accounts, eth, trie: handle genesis state missing ( #28171 )
1 year ago
accessors_trie.go
core/rawdb: make sure specified state scheme is valid ( #30499 )
2 months ago
ancient_scheme.go
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle ( #30105 )
4 months ago
ancient_utils.go
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle ( #30105 )
4 months ago
chain_freezer.go
core/rawdb: implement in-memory freezer ( #29135 )
7 months ago
chain_iterator.go
core, core/rawdb, eth/sync: no tx indexing during snap sync ( #28703 )
10 months ago
chain_iterator_test.go
all: refactor so `NewBlock`, `WithBody` take `types.Body` ( #29482 )
7 months ago
database.go
core, ethdb/pebble: run pebble in non-sync mode ( #30573 )
1 month ago
database_test.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
freezer.go
core/rawdb: more accurate description of freezer in docs ( #30393 )
2 months ago
freezer_batch.go
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
1 month ago
freezer_memory.go
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
1 month ago
freezer_memory_test.go
core/rawdb: implement in-memory freezer ( #29135 )
7 months ago
freezer_meta.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
freezer_meta_test.go
all: simplify tests using t.TempDir() ( #30150 )
4 months ago
freezer_resettable.go
core/rawdb: drop MigrateTable ( #30331 )
3 months ago
freezer_resettable_test.go
core/rawdb: implement in-memory freezer ( #29135 )
7 months ago
freezer_table.go
core/rawdb: freezer index repair ( #29792 )
2 months ago
freezer_table_test.go
core/rawdb: freezer index repair ( #29792 )
2 months ago
freezer_test.go
core/rawdb: drop MigrateTable ( #30331 )
3 months ago
freezer_utils.go
core/rawdb: fsync the index file after each freezer write ( #28483 )
1 year ago
freezer_utils_test.go
all: more linters ( #24783 )
2 years ago
key_length_iterator.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
key_length_iterator_test.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
schema.go
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle ( #30105 )
4 months ago
table.go
ethdb: add DeleteRange feature ( #30668 )
4 weeks ago
table_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago