go-ethereum/trie
Maciej Kulawik fa0df76f3c
trie/triedb/hashdb: take lock around access to dirties cache (#28542)
Add read locking of db lock around access to dirties cache in hashdb.Database to prevent
data race versus hashdb.Database.dereference which can modify the dirities map by deleting
an item.

Fixes #28541

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-11-30 10:50:48 +01:00
..
testutil
triedb trie/triedb/hashdb: take lock around access to dirties cache (#28542) 2023-11-30 10:50:48 +01:00
trienode cmd, core, trie: verkle-capable geth init (#28270) 2023-11-14 13:09:40 +01:00
triestate all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
utils cmd, core, trie: verkle-capable geth init (#28270) 2023-11-14 13:09:40 +01:00
committer.go
database.go trie/triedb/hashdb: take lock around access to dirties cache (#28542) 2023-11-30 10:50:48 +01:00
database_test.go core, trie: cleanup trie database (#28062) 2023-09-07 21:17:14 +08:00
encoding.go trie: reduce allocs in recHash (#27770) 2023-08-18 22:41:19 +02:00
encoding_test.go trie: reduce allocs in recHash (#27770) 2023-08-18 22:41:19 +02:00
errors.go
hasher.go trie: spelling - fix comments in hasher (#28507) 2023-11-14 14:27:07 +01:00
iterator.go ethdb/memorydb, trie: reduced allocations (#28473) 2023-11-15 16:20:34 +01:00
iterator_test.go ethdb/memorydb, trie: reduced allocations (#28473) 2023-11-15 16:20:34 +01:00
node.go
node_enc.go
node_test.go
preimages.go
proof.go trie: make rhs-proof align with last key in range proofs (#28311) 2023-10-13 16:05:29 +02:00
proof_test.go trie: make rhs-proof align with last key in range proofs (#28311) 2023-10-13 16:05:29 +02:00
secure_trie.go
secure_trie_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
stacktrie.go trie: use explicit errors in stacktrie (instead of panic) (#28361) 2023-10-25 14:53:50 +02:00
stacktrie_fuzzer_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2023-11-14 14:34:29 +01:00
stacktrie_test.go trie: use explicit errors in stacktrie (instead of panic) (#28361) 2023-10-25 14:53:50 +02:00
sync.go core, eth, trie: filter out boundary nodes and remove dangling nodes in stacktrie (#28327) 2023-10-23 18:31:56 +03:00
sync_test.go core, trie, rpc: speed up tests (#28461) 2023-11-21 12:19:28 +01:00
tracer.go
tracer_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
trie.go
trie_id.go
trie_reader.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
trie_test.go trie: fix random test generator early terminate (#28590) 2023-11-25 14:56:22 +01:00
verkle.go cmd, core, trie: verkle-capable geth init (#28270) 2023-11-14 13:09:40 +01:00
verkle_test.go eth/catalyst, eth/downloader: expose more sync information (#28584) 2023-11-28 08:38:30 +01:00