Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt
These are (afaik) all long-standing races or concurrent accesses. Going
forward, we can clean these up so that they're not all individual atomic
accesses.

- Reintroduce cs_vRecv to guard receive-specific vars
- Lock vRecv/vSend for CNodeStats
- Make some vars atomic.
- Only set the connection time in CNode's constructor so that it doesn't change
2017-02-10 11:32:39 -05:00
..
2017-01-27 21:22:35 +01:00
2016-12-01 16:14:45 -08:00
2017-02-09 07:30:10 +01:00
2017-01-27 21:22:35 +01:00
2016-12-12 11:08:47 -08:00
2017-01-27 21:22:35 +01:00
2017-01-04 11:56:17 -08:00
2017-01-27 21:22:35 +01:00
2017-01-14 21:45:32 +01:00
2017-01-27 21:22:35 +01:00
2017-01-04 13:24:19 -05:00
2017-01-27 21:22:35 +01:00
2016-01-05 21:01:39 +01:00
2017-01-27 21:22:35 +01:00
2017-01-27 21:22:35 +01:00
2017-01-27 21:22:35 +01:00