MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / IsRoutable

Method IsRoutable

src/netaddress.cpp:226–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool CNetAddr::IsRoutable() const
227{
228 return IsValid() && !(IsRFC1918() || IsRFC2544() || IsRFC3927() || IsRFC4862() || IsRFC6598() || IsRFC5737() || (IsRFC4193() && !IsTor()) || IsRFC4843() || IsLocal() || IsInternal());
229}
230
231bool CNetAddr::IsInternal() const
232{

Callers 8

PushNodeVersionFunction · 0.80
ProcessMessageFunction · 0.80
Add_Method · 0.80
IsPeerAddrLocalGoodFunction · 0.80
AdvertiseLocalFunction · 0.80
AddLocalFunction · 0.80
BindListenPortMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

IsLocalFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64