Page MenuHomePhabricator

net, rpc: return NET_UNROUTABLE as not_publicly_routable, automate helps
ClosedPublic

Authored by PiRK on Feb 10 2022, 15:18.

Details

Summary

net: update NET_UNROUTABLE to not_publicly_routable in GetNetworkName()

net: create GetNetworkNames()

rpc: use GetNetworkNames() in getnetworkinfo and getpeerinfo helps

init: use GetNetworkNames() in -onlynet help

This is a backport of core#20965

Depends on D11030

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable