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

Method Good

src/addrman.cpp:1074–1081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072}
1073
1074bool AddrManImpl::Good(const CService& addr, int64_t nTime)
1075{
1076 LOCK(cs);
1077 Check();
1078 auto ret = Good_(addr, /*test_before_evict=*/true, nTime);
1079 Check();
1080 return ret;
1081}
1082
1083void AddrManImpl::Attempt(const CService& addr, bool fCountFailure, int64_t nTime)
1084{

Callers 7

ProcessMessageMethod · 0.80
ThreadOpenConnectionsMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FillAddrmanFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80
addpeeraddressFunction · 0.80
AddrManAddThenGoodFunction · 0.80

Calls 1

CheckFunction · 0.85

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
FillAddrmanFunction · 0.64
FUZZ_TARGET_INITFunction · 0.64