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

Function ResolveService

src/test/addrman_tests.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static CService ResolveService(const char* ip, int port = 0)
81{
82 CService serv;
83 BOOST_CHECK_MESSAGE(Lookup(ip, serv, port, false), strprintf("failed to resolve: %s:%i", ip, port));
84 return serv;
85}
86
87static CService ResolveService(std::string ip, int port = 0)
88{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

LookupFunction · 0.85

Tested by

no test coverage detected