MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToStringIPPort

Method ToStringIPPort

src/netaddress.cpp:1031–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029}
1030
1031std::string CService::ToStringIPPort() const
1032{
1033 if (IsIPv4() || IsTor() || IsI2P() || IsInternal()) {
1034 return ToStringIP() + ":" + ToStringPort();
1035 } else {
1036 return "[" + ToStringIP() + "]:" + ToStringPort();
1037 }
1038}
1039
1040std::string CService::ToString() const
1041{

Callers 7

auth_cbMethod · 0.80
AppInitMainFunction · 0.80
CNodeMethod · 0.80
FUZZ_TARGETFunction · 0.80
getProxyInfoMethod · 0.80
GetNetworksInfoFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.64