MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / ToStringIPPort

Method ToStringIPPort

src/netbase.cpp:1213–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211}
1212
1213std::string CService::ToStringIPPort() const
1214{
1215 if (IsIPv4() || IsTor()) {
1216 return ToStringIP() + ":" + ToStringPort();
1217 } else {
1218 return "[" + ToStringIP() + "]:" + ToStringPort();
1219 }
1220}
1221
1222std::string CService::ToString() const
1223{

Callers 5

getinfoFunction · 0.80
AddMethod · 0.80
GetNetworksInfoFunction · 0.80
OpenNetworkConnectionFunction · 0.80
CNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected