diff options
author | Carl Dong <accounts@carldong.me> | 2019-03-28 15:21:31 -0400 |
---|---|---|
committer | Carl Dong <accounts@carldong.me> | 2019-05-15 14:21:48 -0400 |
commit | 8be3f306338e27b3fa3ad3bfb75f822d038909a5 (patch) | |
tree | 20e091b30f50594540377bb60cd8022f1ab8c679 /src/test | |
parent | 2d16fb7a2b6a9e5a2535295d2de03e27c2438d1f (diff) | |
download | bitcoin-8be3f306338e27b3fa3ad3bfb75f822d038909a5.tar.xz |
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.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/netbase_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/netbase_tests.cpp b/src/test/netbase_tests.cpp index dd5e3eb6d5..86c0cecbf1 100644 --- a/src/test/netbase_tests.cpp +++ b/src/test/netbase_tests.cpp @@ -59,6 +59,7 @@ BOOST_AUTO_TEST_CASE(netbase_properties) BOOST_CHECK(ResolveIP("FC00::").IsRFC4193()); BOOST_CHECK(ResolveIP("2001::2").IsRFC4380()); BOOST_CHECK(ResolveIP("2001:10::").IsRFC4843()); + BOOST_CHECK(ResolveIP("2001:20::").IsRFC7343()); BOOST_CHECK(ResolveIP("FE80::").IsRFC4862()); BOOST_CHECK(ResolveIP("64:FF9B::").IsRFC6052()); BOOST_CHECK(ResolveIP("FD87:D87E:EB43:edb1:8e4:3588:e546:35ca").IsTor()); |