New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: check disconnection when sending sendaddrv2 after verack #29699
test: check disconnection when sending sendaddrv2 after verack #29699
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsNo conflicts as of last run. |
lgtm ACK 8517ee9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crACK 8517ee9
ACK 8517ee9 |
8517ee9
to
6a37493
Compare
6a37493
to
b4c9ace
Compare
Force-pushed addressing #29699 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK b4c9ace
lgtm ACK b4c9ace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f'received: addrv2 ({msg_size} bytes) peer=0', | ||
f'sending addrv2 ({msg_size} bytes) peer=1', | ||
f'received: addrv2 ({msg_size} bytes) peer=1', | ||
f'sending addrv2 ({msg_size} bytes) peer=2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I think this is a good example of why we shouldn't use assert_debug_log
when we're able to check the logic otherwise)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes :)
This PR adds test coverage for:
bitcoin/src/net_processing.cpp
Lines 3796 to 3807 in 71b6319