Wladimir J. van der Laan e07c943ce8 Add AssertLockHeld for cs_main to ChainActive-using functions
All functions that use ChainActive but do not aquire the cs_main
lock themselves, need to be called with the cs_main lock held.

This commit adds assertions to all externally callable functions
that use chainActive or chainMostWork.

This will flag usages when built with -DDEBUG_LOCKORDER.
2014-04-17 16:46:01 +02:00
..
2014-04-17 13:47:14 +02:00
2014-02-14 13:25:24 -05:00
2014-04-14 14:20:40 +02:00
2014-04-17 13:47:14 +02:00
2014-04-14 14:20:40 +02:00
2014-03-18 14:51:28 +01:00
2014-04-02 03:48:07 +02:00
2014-03-29 06:03:08 +01:00
2014-04-02 03:48:07 +02:00
2014-04-02 03:48:07 +02:00
2014-04-02 03:48:07 +02:00
2014-04-02 03:48:07 +02:00