Matt Corallo 85aa8398f5 Hold mempool.cs for the duration of ATMP.
This resolves an issue where getrawmempool() can race mempool
notification signals. Intuitively we use mempool.cs as a "read
lock" on the mempool with cs_main being the write lock, so holding
the read lock intermittently while doing write operations is
somewhat strange.
This also avoids the introduction of cs_main in getrawmempool()
which reviewers objected to in the previous fix in #12273
2018-02-06 13:51:44 -05:00
..
2017-09-29 16:02:39 +02:00
2017-12-19 16:44:57 -05:00
2018-01-28 13:21:25 +01:00
2018-01-24 17:35:43 +01:00
2018-01-23 13:16:56 -05:00
2018-01-23 13:16:56 -05:00
2018-01-10 20:55:41 -10:00
2018-01-28 13:21:25 +01:00
2018-01-28 13:21:25 +01:00
2018-01-28 13:21:25 +01:00
2017-10-29 21:12:12 +08:00
2018-01-09 08:59:21 -05:00