diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-12-29 01:45:17 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-12-29 01:51:23 -0800 |
commit | d9fdac130a5ed1d96fcac6bb87c10bec9d596b17 (patch) | |
tree | 58fee7569846a5d6db7aa237efff86504db77153 /src/test/merkleblock_tests.cpp | |
parent | 5180a86c96bc05d2a731f70f36aae28ab5a3fad4 (diff) | |
parent | 97d2b09c124e6e5803f7fd4503348d9710d1260f (diff) |
Merge #11824: Block ActivateBestChain to empty validationinterface queue
97d2b09c12 Add helper to wait for validation interface queue to catch up (Matt Corallo)
36137497f1 Block ActivateBestChain to empty validationinterface queue (Matt Corallo)
5a933cefcc Add an interface to get the queue depth out of CValidationInterface (Matt Corallo)
a99b76f269 Require no cs_main lock for ProcessNewBlock/ActivateBestChain (Matt Corallo)
a734896038 Avoid cs_main in net_processing ActivateBestChain calls (Matt Corallo)
66aa1d58a1 Refactor ProcessGetData in anticipation of avoiding cs_main for ABC (Matt Corallo)
818075adac Create new mutex for orphans, no cs_main in PLV::BlockConnected (Matt Corallo)
Pull request description:
This should fix #11822.
It ended up bigger than I hoped for, but its not too gnarly. Note that "
Require no cs_main lock for ProcessNewBlock/ActivateBestChain" is mostly pure code-movement.
Tree-SHA512: 1127688545926f6099449dca6a4e6609eefc3abbd72f1c66e03d32bd8c7b31e82097d8307822cfd1dec0321703579cfdd82069cab6e17b1024e75eac694122cb
Diffstat (limited to 'src/test/merkleblock_tests.cpp')
0 files changed, 0 insertions, 0 deletions