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.