Page MenuHomePhabricator

Send and require SENDADDRV2 before VERACK
AbandonedPublic

Authored by PiRK on Jan 28 2022, 14:31.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

See the corresponding BIP change: https://github.com/bitcoin/bips/pull/1043

The log message is from core#20724 backported out of order in D10923

This is a partial backport of core#20564
https://github.com/bitcoin/bitcoin/pull/20564/commits/1583498fb6781c01ca2f33c09319ed793964c574

Test Plan

ninja all check-all

Event Timeline

PiRK requested review of this revision.Jan 28 2022, 14:31
PiRK planned changes to this revision.Jan 28 2022, 14:42

I need to think more about what this implies regarding compatibility with previous versions of Bitcoin ABC.

After testing, I confirm that this patch gets a node disconnected.
If we want to follow core on this, it would have to be done as a hard fork upgrade. I do not think that we need this, as we do not need to stay compatible with version that do not support addrv2.