aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-06-15 11:33:14 -0400
committerJohn Newbery <john@johnnewbery.com>2020-07-11 07:13:05 +0100
commit655b1957470c39bcab64917747c9f467444bd809 (patch)
tree4147eb276e4789b5938ba89a325fe9e037bd046e /src/protocol.h
parenta49781e56d2bd6a61ec027a09c1db9ee1a4abf2e (diff)
downloadbitcoin-655b1957470c39bcab64917747c9f467444bd809.tar.xz
[net processing] Continue SendMessages processing if not disconnecting peer
If we don't disconnect a peer in MaybeDiscourageAndDisconnect because it has NOBAN permissions or it's a manual connection, continue SendMessages processing rather than exiting early. The previous behaviour was that we'd miss the SendMessages processing on this iteration of the MessageHandler loop. That's not a problem since SendMessages() would just be called again on the next iteration, but it was slightly inefficient and confusing.
Diffstat (limited to 'src/protocol.h')
0 files changed, 0 insertions, 0 deletions