Wladimir J. van der Laan d42a4fe5aa
Merge #11041: Add LookupBlockIndex
92fabcd44 Add LookupBlockIndex function (João Barbosa)
43a32b739 Add missing cs_lock in CreateWalletFromFile (João Barbosa)
f814a3e8f Fix cs_main lock in LoadExternalBlockFile (João Barbosa)
c651df8b3 Lock cs_main while loading block index in AppInitMain (João Barbosa)
02de6a6bc Assert cs_main is held when accessing mapBlockIndex (João Barbosa)

Pull request description:

  Replace all `mapBlockIndex` lookups with the new `LookupBlockIndex()`. In some cases it avoids a second lookup.

Tree-SHA512: ca31118f028a19721f2191d86f2dd398144d04df345694575a64aeb293be2f85785201480c3c578a0ec99690516205708558c0fd4168b09313378fd4e60a8412
2018-03-13 19:12:35 +01:00
..
2018-02-16 08:59:28 -05:00
2018-03-13 19:12:35 +01:00
2018-03-13 19:12:35 +01:00
2017-09-29 16:02:39 +02:00
2018-02-10 09:55:54 -05:00
2018-03-13 19:12:35 +01:00
2018-03-06 21:52:53 +01:00
2018-02-11 10:48:15 +01:00
2018-03-06 19:52:19 +00:00
2018-03-06 19:52:19 +00:00
2018-02-27 11:42:06 -08:00
2018-03-13 19:12:35 +01:00
2018-01-23 13:16:56 -05:00
2018-01-10 20:55:41 -10:00
2018-03-06 19:52:19 +00:00
2018-01-28 13:21:25 +01:00
2018-01-28 13:21:25 +01:00
2016-01-05 21:01:39 +01:00
2017-10-29 21:12:12 +08:00
2018-01-09 08:59:21 -05:00
2018-03-06 20:28:08 -08:00
2018-03-06 19:52:19 +00:00