go-ethereum/ethdb
Gary Rong b474628f03 core/filtermaps, ethdb: workaround for prevent unexpected node deletion
This pull request introduces a workaround in the database range deleter:
if key == hash(value), the entry will be excluded from deletion.

In hash mode, trie nodes are stored using their hash as the database key
without any prefix. As a result, they may unintentionally collide with
entries marked for deletion. This workaround will remain in place until
hash mode is fully deprecated.
2025-03-28 11:27:37 +08:00
..
dbtest ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
leveldb core/filtermaps, ethdb: workaround for prevent unexpected node deletion 2025-03-28 11:27:37 +08:00
memorydb ethdb/memorydb: faster DeleteRange (#31038) 2025-01-17 16:54:19 +01:00
pebble core/filtermaps, ethdb: workaround for prevent unexpected node deletion 2025-03-28 11:27:37 +08:00
remotedb ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher (#24392) 2022-02-15 15:15:13 +02:00
database.go core/rawdb: allow for truncation in the freezer (#31362) 2025-03-17 16:01:37 +01:00
errors.go core/filtermaps, ethdb: workaround for prevent unexpected node deletion 2025-03-28 11:27:37 +08:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00