Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: e03fa30e8982a7abebee53d9c74a100ecb5e258f
https://github.com/btcsuite/btcd/commit/e03fa30e8982a7abebee53d9c74a100ecb5e258f
Author: Jonathan Gillham <[email protected]>
Date: 2016-01-24 (Sun, 24 Jan 2016)
Changed paths:
M peer/peer.go
Log Message:
-----------
peer: Simplify PushAddrMsg method loop.
This implementation ensures that all addresses have an equal chance of
being included in the addr message. It also moves the pseudorandom number
generator seeding to package level so that it can be overridden for
testing if required.