Pieter Wuille 5400ef6bcb 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.
2015-12-11 22:20:38 +01:00
..
2015-11-04 23:46:47 +01:00
2015-12-01 10:22:14 +01:00
2015-12-09 10:48:27 +01:00
2015-12-01 10:22:14 +01:00
2015-12-09 10:48:27 +01:00
2015-11-19 13:32:14 +11:00
2015-06-04 19:34:18 +02:00
2015-08-03 22:58:30 +01:00
2015-12-02 15:18:22 +01:00
2015-05-02 15:23:59 +00:00
2015-07-23 21:10:22 +02:00
2015-05-01 11:21:27 +00:00
2015-10-22 17:57:48 +00:00
2015-07-30 19:56:00 -04:00
2015-11-13 18:15:20 +01:00
2015-10-27 17:39:42 +01:00
2015-11-13 18:15:20 +01:00
2015-09-03 10:59:18 +02:00
2015-11-13 11:10:48 +01:00
2015-11-13 00:12:53 +01:00
2015-05-06 18:37:49 +02:00
2015-08-17 12:15:32 -04:00
2015-12-03 13:16:46 +01:00
2015-12-03 13:16:46 +01:00
2015-11-13 18:15:20 +01:00
2015-05-01 11:21:27 +00:00
2015-12-02 15:18:22 +01:00
2015-12-02 12:44:04 +01:00
2015-12-07 13:32:59 +01:00
2015-09-03 10:59:18 +02:00
2015-05-16 17:59:23 -04:00
2015-11-13 18:15:20 +01:00
2015-08-10 22:06:27 +01:00
2015-11-12 17:58:15 +01:00