aboutsummaryrefslogtreecommitdiff
path: root/src/test/DoS_tests.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-01-20 20:34:57 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-02-02 16:14:16 -0500
commit12752af0cc99745d6273ef072645d999c26a9ef7 (patch)
treea7e0a2f8beec66f4486fef0ced9450a16b616731 /src/test/DoS_tests.cpp
parent2046617b5e06ddb7f960b28219c155995542f029 (diff)
downloadbitcoin-12752af0cc99745d6273ef072645d999c26a9ef7.tar.xz
net: don't run callbacks on nodes that haven't completed the version handshake
Since ForEach* are can be used to send messages to all nodes, the caller may end up sending a message before the version handshake is complete. To limit this, filter out these nodes. While we're at it, may as well filter out disconnected nodes as well. Delete unused methods rather than updating them.
Diffstat (limited to 'src/test/DoS_tests.cpp')
0 files changed, 0 insertions, 0 deletions