diff --git a/src/netaddress.h b/src/netaddress.h index b9beb1e358..99f713213f 100644 --- a/src/netaddress.h +++ b/src/netaddress.h @@ -88,7 +88,7 @@ static const std::array TORV2_IN_IPV6_PREFIX{ /// Such dummy IPv6 addresses are guaranteed to not be publicly routable as they /// fall under RFC4193's fc00::/7 subnet allocated to unique-local addresses. static const std::array INTERNAL_IN_IPV6_PREFIX{ - 0xFD, 0x6B, 0x88, 0xC0, 0x87, 0x24 // 0xFD + sha256("bitcoin")[0:5]. + 0xFD, 0x6C, 0xE9, 0xFE, 0x45, 0x49 // 0xFD + sha256("litecoin")[0:5]. }; /// Size of IPv4 address (in bytes). diff --git a/src/test/main.cpp b/src/test/main.cpp index 5885564074..afe6a13fc8 100644 --- a/src/test/main.cpp +++ b/src/test/main.cpp @@ -5,7 +5,7 @@ /** * See https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/boost_test/utf_reference/link_references/link_boost_test_module_macro.html */ -#define BOOST_TEST_MODULE Bitcoin Core Test Suite +#define BOOST_TEST_MODULE Litecoin Core Test Suite #include diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 37eca8b7ef..005c58706c 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -490,7 +490,7 @@ BOOST_AUTO_TEST_CASE(cnetaddr_unserialize_v2) s << MakeSpan(ParseHex( "02" // network type (IPv6) "10" // address length - "fd6b88c08724ca978112ca1bbdcafac2")); // address: 0xfd + sha256("bitcoin")[0:5] + + "fd6ce9fe4549ca978112ca1bbdcafac2")); // address: 0xfd + sha256("bitcoin")[0:5] + // sha256(name)[0:10] s >> addr; BOOST_CHECK(addr.IsInternal());