test: fix, restore and improve cnetaddr scoped id documentation #21961
pull jonatack wants to merge 2 commits into bitcoin:master from jonatack:fix-and-improve-cnetaddr-scoped-id-test-documentation changing 1 files +5 −1-
jonatack commented at 10:26 am on May 16, 2021: member
-
test: remove comment orphaned by commit 63631be d072e93eaa
-
test: add scoped id information/context from commit 6ab76c0 dbd1dc1fad
-
fanquake added the label Tests on May 16, 2021
-
in src/test/net_tests.cpp:309 in dbd1dc1fad
305+ // zone id, for example, given a link-local address of "fe80::1" and a zone 306+ // id of "32", return the address as "fe80::1%32". An exception is macOS, 307+ // which does not support scoped ids and instead returns the address in a 308+ // different format as "fe80:0:0:0:0:0:0:1" without the zone id. 309 const std::string link_local{"fe80::1"}; 310 const std::string scoped_addr{link_local + "%32"};
laanwj commented at 2:09 pm on May 17, 2021:I don’t really know this code but isn’t the “e.g. 32” comment still relevant to this line?
jonatack closed this on May 17, 2021
jonatack commented at 2:27 pm on May 17, 2021: memberClosing as we no longer return any scoped ids. There is still a line of orphaned documentation but probably no one will notice.laanwj referenced this in commit 2fc111b6e3 on May 19, 2021sidhujag referenced this in commit b2255c1f29 on May 19, 2021DrahtBot locked this on Aug 16, 2022
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: 2025-04-12 00:13 UTC
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: 2025-04-12 00:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me