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

Function ResolveService

src/test/addrman_tests.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static CService ResolveService(const std::string& ip, uint16_t port = 0)
42{
43 CService serv;
44 BOOST_CHECK_MESSAGE(Lookup(ip, serv, port, false), strprintf("failed to resolve: %s:%i", ip, port));
45 return serv;
46}
47
48
49static std::vector<bool> FromBytes(const unsigned char* source, int vector_size)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

LookupFunction · 0.85

Tested by

no test coverage detected