forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #2639: [net] disallow sending messages before receiving verack …
…+ enable p2p_leak.py test 56f07da net_processing: 'SENDADDRV2' msg can be received before a verack. (furszy) 2f5339c test: update and enable p2p_leak.py (furszy) 475b1c6 net: require a verack before responding to anything else (Cory Fields) 8a6c72b net: correctly ban before the handshake is complete (furszy) Pull request description: More updates, corrections and test coverage to the network layer for the LLMQ MNs connections work (deep rabbit hole..). Built on top of #2587. PR starts in cd00e31, focused on: 1) Correctly ban before the handshake is complete (c45b9fb). 2) Require a `verack` before responding to anything else (cbfc5a6). 3) Update and enable `p2p_leak.py` functional test (check commit, the functional test framework was too ahead of it). 4) Move `SENDADDRV2` msg processing so it can be processed before a verack. ACKs for top commit: random-zebra: ACK 56f07da Fuzzbawls: ACK 56f07da Tree-SHA512: b23a6003c6b815f797bd77a646023632d9087be530ad1651255005f9aa5764f9c91ce9de97eac9c9180384442fceeb4ff41ee9b81500246e01e324dcd20f52f6
- Loading branch information
Showing
3 changed files
with
108 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters