Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Test that we only relay addrs to peers who sent us addr relate…
…d messages The `AddrReceiver` class used in the existing tests sends a `getaddr` message to indicate that it is interested in participating in address relay. This commit introduces another class, `AddrBlackhole` which does not initiate any addr related messages. The tests check that addresses received via the network are forwarded to the `AddrReceiver` and not the `AddrBlackhole`
- Loading branch information