Revert "Don't send 'sendaddrv2' to pre-70016 software" #20800

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2012-netRevertSendaddrv2Workaround changing 1 files +1 −7
  1. maflcko commented at 3:10 PM on December 29, 2020: member

    Now that other software projects can handle sendaddrv2 messages, either by explicitly allowing them or by ignoring unknown messages, the temporary workaround can be removed. See also the mailing list post explaining that addrv2 is not dependent on a p2p protocol version: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-December/018301.html

    Some references:

  2. Revert "Don't send 'sendaddrv2' to pre-70016 software"
    This reverts commit c5a89196602e43ebb1cdc9cd4f08d153419c13e1.
    fa93279e70
  3. maflcko commented at 3:11 PM on December 29, 2020: member

    Please don't merge until the above mentioned software projects issues a release.

  4. DrahtBot added the label P2P on Dec 29, 2020
  5. ajtowns commented at 1:55 AM on December 30, 2020: contributor

    This saves one line of code and at best does nothing, but more likely introduces spurious incompatibilities with existing deployed software.

  6. maflcko commented at 9:06 AM on December 30, 2020: member

    Keeping it will create spurious incompatibilities with to-be-deployed software that implements according to the BIP. If the goal is to keep this workaround permanently, it might be good to propose an update to the BIP first. I don't want to decide what the BIP should say, but I think that Bitcoin Core should generally follow the BIP specification.

  7. laanwj added this to the milestone Future on Jan 2, 2021
  8. jnewbery commented at 11:00 AM on January 3, 2021: contributor

    I don't think there's any rush to do this. We can live with this exception to the BIP for a couple of years and then revert.

    Please don't merge until the above mentioned software projects issues a release.

    We should wait some time after they issue a release. There may be unupgraded nodes from those projects for some time. Probably not many, but we should avoid breaking compatibility with those unnecessarily.

  9. michaelfolkson commented at 11:17 AM on January 3, 2021: none

    I agree with greater conservatism (e.g. a couple of years) on when to revert.

    If the goal is to keep this workaround permanently

    The goal isn't for a permanent workaround, it is for a temporary workaround. But I agree this could be communicated temporarily on the BIP to avoid the problems with future implementations of the BIP you talk about @MarcoFalke.

  10. michaelfolkson commented at 2:16 PM on January 3, 2021: none

    But I agree this could be communicated temporarily on the BIP to avoid the problems with future implementations of the BIP you talk about @MarcoFalke.

    If you think this is the right way to go I'm happy to open a PR on the BIP.

  11. sipa commented at 6:34 PM on January 3, 2021: member

    @MarcoFalke My thinking here was that it could also wait a few years, depending on network developments. As far as I can see, this doesn't make Bitcoin Core incompatible with the BIP - it's just choosing in some cases to not opt into an optional feature (based on a heuristic to guess that the other side doesn't understand it anyway). If clients on the network appear that want BIP155 but somehow don't want to increment the protocol version, that would be a good reason to revert this.

  12. maflcko commented at 6:41 PM on January 3, 2021: member

    Ok, let's revisit in 2022 or so

  13. maflcko closed this on Jan 3, 2021

  14. maflcko deleted the branch on Jan 3, 2021
  15. bitcoin locked this on Aug 16, 2022
  16. maflcko removed this from the milestone Future on Jul 23, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-15 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me