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

Function GetCheckRatio

src/test/addrman_tests.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27static const bool DETERMINISTIC{true};
28
29static int32_t GetCheckRatio(const NodeContext& node_ctx)
30{
31 return std::clamp<int32_t>(node_ctx.args->GetIntArg("-checkaddrman", 100), 0, 1000000);
32}
33
34static CNetAddr ResolveIP(const std::string& ip)
35{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.70

Calls 1

GetIntArgMethod · 0.80

Tested by

no test coverage detected