aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-04-08 11:20:00 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2015-12-14 13:43:53 +0100
commit10b88be79856ee7ee66f69705c16b335941e396e (patch)
tree29766c79315ae9c569321e2ee607107be948dd5d /src/validationinterface.h
parent06c6a584635bb42c511baf505cebd7cdf77b89e9 (diff)
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. Github-Pull: #7125 Rebased-From: 5400ef6bcb9d243b2b21697775aa6491115420f3
Diffstat (limited to 'src/validationinterface.h')
0 files changed, 0 insertions, 0 deletions