aboutsummaryrefslogtreecommitdiff
path: root/src/test
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/test
parentf9cae832e6f56c6abe89b3bf05d1f176c2a7c913 (diff)
downloadbitcoin-ef0f422519de4a3ce47d923e5f8f90cd12349f3e.tar.xz
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/test')
0 files changed, 0 insertions, 0 deletions