diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-04-15 17:38:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-04-18 12:49:41 +0200 |
| commit | 55a1db4fa2cf62b9766ef382c1e14b3ecbdf67fe (patch) | |
| tree | 1ff19f533ab0221e27dd16c3d401c4d54dfbca7b /src/test/script_P2SH_tests.cpp | |
| parent | Add AssertLockHeld for cs_main to ChainActive-using functions (diff) | |
| download | discoin-55a1db4fa2cf62b9766ef382c1e14b3ecbdf67fe.tar.xz discoin-55a1db4fa2cf62b9766ef382c1e14b3ecbdf67fe.zip | |
Solve chainActive-related locking issues
- In wallet and GUI code LOCK cs_main as well as cs_wallet when
necessary
- In main.cpp SendMessages move the TRY_LOCK(cs_main) up, to encompass the call
to IsInitialBlockDownload.
- Make ActivateBestChain, AddToBlockIndex, IsInitialBlockDownload,
InitBlockIndex acquire the cs_main lock
Fixes #3997
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions