netaddress: Update CNetAddr for ORCHIDv2 #15689

pull dongcarl wants to merge 1 commits into bitcoin:master from dongcarl:2019-03-account-for-orchidv2 changing 3 files +9 −2
  1. dongcarl commented at 7:44 PM on March 28, 2019: member
    The original ORCHID prefix was deprecated as of 2014-03, the new
    ORCHIDv2 prefix was allocated by RFC7343 as of 2014-07. We did not
    consider the original ORCHID prefix routable, and I don't see any reason
    to consider the new one to be either.
    

    Would like to know if people think this kind of thing is even worth keeping the codebase updated for. Perhaps it'd be nice to write a devtool to pull the csv from here and generate the code.

  2. laanwj commented at 9:06 PM on March 28, 2019: member

    utACK 8be3f3063

  3. laanwj added the label P2P on Mar 28, 2019
  4. sipa commented at 10:27 PM on March 28, 2019: member

    Maybe we should instead just have a single IsUnroutable function that tests for all these cases simultaneously. Perhaps it just has a const vector of prefixes to check against.

  5. DrahtBot commented at 10:08 PM on April 1, 2019: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    No conflicts as of last run.

  6. ryanofsky approved
  7. ryanofsky commented at 4:48 PM on April 5, 2019: member

    utACK 00a50a09eaf9149e44c207290ec093fc86f4b096

  8. Empact commented at 5:34 PM on April 10, 2019: member

    Maybe we should instead just have a single IsUnroutable function that tests for all these cases simultaneously. Perhaps it just has a const vector of prefixes to check against.

    Here's a take on that: https://github.com/bitcoin/bitcoin/compare/master...Empact:is-routable?expand=1

  9. DrahtBot added the label Needs rebase on Apr 11, 2019
  10. dongcarl force-pushed on May 15, 2019
  11. netaddress: Update CNetAddr for ORCHIDv2
    The original ORCHID prefix was deprecated as of 2014-03, the new
    ORCHIDv2 prefix was allocated by RFC7343 as of 2014-07. We did not
    consider the original ORCHID prefix routable, and I don't see any reason
    to consider the new one to be either.
    8be3f30633
  12. dongcarl commented at 6:22 PM on May 15, 2019: member

    Rebased, I think I'm going to limit this change to just ORCHIDv2 for now.

  13. DrahtBot removed the label Needs rebase on May 15, 2019
  14. ryanofsky commented at 5:44 PM on May 23, 2019: member

    utACK 8be3f306338e27b3fa3ad3bfb75f822d038909a5. Only change since last review is rebasing after #15718 merge.

    re: #15689 (comment)

    I think I'm going to limit this change to just ORCHIDv2 for now.

    I was initially confused by this comment because this PR was always limited to ORCHIDv2. But this is just a response to an earlier comment about potentially expanding the PR: #15689 (comment)

  15. laanwj merged this on Jun 6, 2019
  16. laanwj closed this on Jun 6, 2019

  17. laanwj commented at 10:54 AM on June 6, 2019: member

    Maybe we should instead just have a single IsUnroutable function that tests for all these cases simultaneously. Perhaps it just has a const vector of prefixes to check against.

    Good idea but can be done separately.

  18. laanwj referenced this in commit fc6cbc31e9 on Jun 6, 2019
  19. sidhujag referenced this in commit 6ed4ed7389 on Jun 6, 2019
  20. deadalnix referenced this in commit 061ee57f69 on May 21, 2020
  21. ftrader referenced this in commit 4aee4fb22d on Aug 17, 2020
  22. PastaPastaPasta referenced this in commit 89e7638f30 on Jan 16, 2021
  23. UdjinM6 referenced this in commit 1c48eb2faf on Jan 18, 2021
  24. PastaPastaPasta referenced this in commit 233232ce3e on Jan 18, 2021
  25. random-zebra referenced this in commit b4751e10ce on Aug 11, 2021
  26. DrahtBot locked this on Dec 16, 2021

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-01 03:15 UTC

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