CNetAddr::IsRFC4193() is wrong #3049

issue dajohi opened this issue on October 2, 2013
  1. dajohi commented at 10:00 PM on October 2, 2013: contributor

    RFC4193 is FC00::/7, not FC00::/15.

  2. Diapolo commented at 1:00 PM on October 3, 2013: none

    Indeed, the comment is wrong: https://github.com/bitcoin/bitcoin/blob/master/src/netbase.h#L57

    I looked at the code, which seems correct (AND with 0xFE == /7 when I understand it correct @sipa): https://github.com/bitcoin/bitcoin/blob/master/src/netbase.cpp#L659

  3. gavinandresen closed this on Oct 4, 2013

  4. gavinandresen referenced this in commit af880e8d3a on Oct 4, 2013
  5. luke-jr referenced this in commit 71888bf121 on Feb 12, 2014
  6. pooler referenced this in commit a031246ac2 on Mar 26, 2014
  7. wtogami referenced this in commit 12dc8ecda5 on Mar 27, 2014
  8. wtogami referenced this in commit ab86ca03a8 on Apr 4, 2014
  9. MathyV referenced this in commit 61155a964a on May 9, 2014
  10. Bushstar referenced this in commit 60cc3c0562 on Apr 8, 2020
  11. MarcoFalke locked this on Sep 8, 2021
Contributors

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-04-29 03:16 UTC

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