aboutsummaryrefslogtreecommitdiff
path: root/src/addrdb.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-02-06 02:34:57 -0500
committerMatt Corallo <git@bluematt.me>2017-02-10 11:32:39 -0500
commit321d0fc6b6624c65508f8b9059418cb936f0bbbe (patch)
tree57a99a1ede16e5449db2d230ddbc7a3b561547be /src/addrdb.cpp
parent2447c1024e6069bfe62ddff65c4e1aaf28f32b38 (diff)
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
Diffstat (limited to 'src/addrdb.cpp')
0 files changed, 0 insertions, 0 deletions