diff options
| author | Pieter Wuille <[email protected]> | 2015-04-08 11:20:00 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-12-11 22:20:38 +0100 |
| commit | 5400ef6bcb9d243b2b21697775aa6491115420f3 (patch) | |
| tree | bb8bb37f0db1e2a48318f64fb42de0a95d5f997b /src/test/data/script_valid.json | |
| parent | Merge pull request #7156 (diff) | |
| download | discoin-5400ef6bcb9d243b2b21697775aa6491115420f3.tar.xz discoin-5400ef6bcb9d243b2b21697775aa6491115420f3.zip | |
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/test/data/script_valid.json')
0 files changed, 0 insertions, 0 deletions