MCPcopy Create free account
hub / github.com/LUX-Core/lux / ToStringIPPort

Method ToStringIPPort

src/netbase.cpp:1200–1207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1198}
1199
1200std::string CService::ToStringIPPort() const
1201{
1202 if (IsIPv4() || IsTor()) {
1203 return ToStringIP() + ":" + ToStringPort();
1204 } else {
1205 return "[" + ToStringIP() + "]:" + ToStringPort();
1206 }
1207}
1208
1209std::string CService::ToString() const
1210{

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