Both the chain state and the transaction pool are validation specific, but access to them is protected by two locks. The two locks have the following semantics:
Backport of Bitcoin Core PR14963
https://github.com/bitcoin/bitcoin/pull/14963
Differential D4227
mempool, validation: Explain cs_main locking semantics fpelliccioni on Oct 8 2019, 19:09. Authored by Tags None Subscribers None
Details
Both the chain state and the transaction pool are validation specific, but access to them is protected by two locks. The two locks have the following semantics: Backport of Bitcoin Core PR14963
CXX=clang++ CC=clang cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug ninja check-all
cmake .. -GNinja ninja bench-bitcoin ./src/bench/bitcoin-bench
Diff Detail
Event Timeline |