mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
net: update NET_UNROUTABLE to not_publicly_routable in GetNetworkName()
This commit is contained in:
@ -44,8 +44,8 @@ from test_framework.netutil import test_ipv6_local
|
||||
|
||||
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
|
||||
|
||||
# Networks returned by RPC getpeerinfo, defined in src/netbase.cpp::GetNetworkName()
|
||||
NET_UNROUTABLE = "unroutable"
|
||||
# Networks returned by RPC getpeerinfo.
|
||||
NET_UNROUTABLE = "not_publicly_routable"
|
||||
NET_IPV4 = "ipv4"
|
||||
NET_IPV6 = "ipv6"
|
||||
NET_ONION = "onion"
|
||||
|
Reference in New Issue
Block a user