aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2020-06-15 11:33:14 -0400
committerJohn Newbery <[email protected]>2020-07-11 07:13:05 +0100
commit655b1957470c39bcab64917747c9f467444bd809 (patch)
tree4147eb276e4789b5938ba89a325fe9e037bd046e /src/script/script_error.cpp
parent[net processing] Only call MaybeDiscourageAndDisconnect from SendMessages (diff)
downloaddiscoin-655b1957470c39bcab64917747c9f467444bd809.tar.xz
discoin-655b1957470c39bcab64917747c9f467444bd809.zip
[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/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions