practicalswift ec8dedff46 net: Add missing lock in ProcessHeadersMessage(...)
Reading the variable mapBlockIndex requires holding the mutex cs_main.

The new "Disconnect outbound peers relaying invalid headers" code
added in commit 37886d5e2f9992678dea4b1bd893f4f10d61d3ad and merged
as part of #11568 two days ago did not lock cs_main prior to accessing
mapBlockIndex.

Github-Pull: #11578
Rebased-From: 2530bf27b72e53cc6ffec27de35f3b487984833d
2017-11-02 13:20:18 -04:00
..
2017-10-18 20:55:35 +02:00
2017-10-03 22:03:09 +02:00
2017-06-22 19:18:10 +03:00
2017-07-15 14:28:40 +02:00
2017-06-09 10:25:26 +02:00
2017-06-09 10:25:26 +02:00
2017-11-02 13:16:50 -04:00
2017-11-02 13:16:50 -04:00
2017-07-08 13:33:01 -07:00
2017-07-14 19:24:17 +00:00
2017-08-14 17:02:36 +02:00
2017-08-14 17:02:36 +02:00
2017-07-22 09:55:57 +02:00