aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorAlistair Buxton <[email protected]>2012-03-18 03:03:24 +0000
committerAlistair Buxton <[email protected]>2012-03-18 03:03:24 +0000
commitbb13d056ea332030a3b960bf2756a36de77e05b8 (patch)
treef7557336fd4e2ccb0d6448609feef33ab02e7d68 /src/util.cpp
parentMerge pull request #942 from Diapolo/master (diff)
downloaddiscoin-bb13d056ea332030a3b960bf2756a36de77e05b8.tar.xz
discoin-bb13d056ea332030a3b960bf2756a36de77e05b8.zip
When disconnecting a node, clear the received buffer so that we do
not process any already received messages. The primary reason to do this is if a node spams hundreds of messages and we ban them, we don't want to continue processing the rest of it.
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions