aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-04-08 11:20:00 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2015-12-11 22:20:38 +0100
commit5400ef6bcb9d243b2b21697775aa6491115420f3 (patch)
treebb8bb37f0db1e2a48318f64fb42de0a95d5f997b /src/qt/guiutil.cpp
parent9ee02cf564d1ce79d2981899cb4d38c914210dc7 (diff)
downloadbitcoin-5400ef6bcb9d243b2b21697775aa6491115420f3.tar.xz
Replace trickle nodes with per-node/message Poisson delays
We used to have a trickle node, a node which was chosen in each iteration of the send loop that was privileged and allowed to send out queued up non-time critical messages. Since the removal of the fixed sleeps in the network code, this resulted in fast and attackable treatment of such broadcasts. This pull request changes the 3 remaining trickle use cases by random delays: * Local address broadcast (while also removing the the wiping of the seen filter) * Address relay * Inv relay (for transactions; blocks are always relayed immediately) The code is based on older commits by Patrick Strateman.
Diffstat (limited to 'src/qt/guiutil.cpp')
0 files changed, 0 insertions, 0 deletions