aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-12-08 22:49:04 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-01-08 02:00:59 +0100
commitef0f422519de4a3ce47d923e5f8f90cd12349f3e (patch)
treeba208bc61340c76ceba465a05afe1391ea217086 /src/bitcoinrpc.cpp
parentf9cae832e6f56c6abe89b3bf05d1f176c2a7c913 (diff)
Remove contention on signature cache during block validation
Since block validation happens in parallel, multiple threads may be accessing the signature cache simultaneously. To prevent contention: * Turn the signature cache lock into a shared mutex * Make reading from the cache only acquire a shared lock * Let block validations not store their results in the cache
Diffstat (limited to 'src/bitcoinrpc.cpp')
0 files changed, 0 insertions, 0 deletions