-
Notifications
You must be signed in to change notification settings - Fork 38.8k
[p2p] Small follow-ups to 21528 #22618
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
[p2p] Small follow-ups to 21528 #22618
Conversation
|
Missing #21528 (comment) ? 😅 |
1396662 to
7ac9c1f
Compare
|
@MarcoFalke fixed 😛 |
jonatack
left a 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.
ACK 7ac9c1f22b15509ad1775ecd707ea8615c05d306
Feel free to ignore the optional ideas below.
|
ACK 7ac9c1f, esp. with @jonatack's suggestions above (e.g. spelling and release notes). |
|
cr ACK 7ac9c1f22b15509ad1775ecd707ea8615c05d306 |
jnewbery
left a 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.
ACK 7ac9c1f22b15509ad1775ecd707ea8615c05d306
And fix a typo in the test.
Currently, this call to SetupAddressRelay will never return false because of the previous guard that returns early if the peer is not an inbound connection. Rather than implicitly relying on this guarantee, throw an error in the debug build if it ever changes.
7ac9c1f to
9778b0f
Compare
|
thanks for reviews! updated to incorporate feedback |
|
re-ACK 9778b0f |
|
ACK 9778b0f |
Summary: Backport of [[bitcoin/bitcoin#22618 | core#22618]]. Depends on D10933. Ref T1693. Test Plan: ninja all check-all Reviewers: #bitcoin_abc, tyler-smith, PiRK Reviewed By: #bitcoin_abc, tyler-smith, PiRK Subscribers: tyler-smith Maniphest Tasks: T1693 Differential Revision: https://reviews.bitcoinabc.org/D10934
Adds a release note & addresses this review comment to make expectations more explicit.