Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Change P2P_SUBVERSION to be a string
This forces the user to convert to bytes to encode it in a version message, which would result in an easy-to-detect type error if omitted. Also add a check that new connections from the test framework to the node have the correct user agent string. Again, this makes bugs easier to detect if the user agent string ever changes.
- Loading branch information
Showing
4 changed files
with
11 additions
and
5 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
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