diff options
| author | Cory Fields <[email protected]> | 2017-02-08 01:17:58 -0500 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2017-02-13 18:56:03 -0500 |
| commit | d9434918d277bba534933ebc8c63ba81e613f603 (patch) | |
| tree | 4bf71e301e86cdab80fe9648b01fa904d66b8d31 /src/net_processing.cpp | |
| parent | qa: Expose on-connection to mininode listeners (diff) | |
| download | discoin-d9434918d277bba534933ebc8c63ba81e613f603.tar.xz discoin-d9434918d277bba534933ebc8c63ba81e613f603.zip | |
qa: add a test to detect leaky p2p messages
This is certainly not exhaustive, but it's better than nothing. Adds checks
for:
- Any message received before sending a version
- Any message received other than version/reject before sending a verack
It also tries to goad the remote into sending a pong, address, or block
announcement.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions