go-ethereum/ethdb/leveldb
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
..
leveldb.go core/filtermaps, ethdb: workaround for prevent unexpected node deletion 2025-03-28 11:27:37 +08:00
leveldb_test.go ethdb: add benchmark test suite (#26659) 2023-02-10 04:35:00 -05:00