MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Good

Method Good

src/addrman.cpp:1167–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167bool AddrManImpl::Good(const CService& addr, NodeSeconds time)
1168{
1169 LOCK(cs);
1170 Check();
1171 auto ret = Good_(addr, /*test_before_evict=*/true, time);
1172 Check();
1173 return ret;
1174}
1175
1176void AddrManImpl::Attempt(const CService& addr, bool fCountFailure, NodeSeconds time)
1177{

Callers 7

ProcessMessageMethod · 0.80
ThreadOpenConnectionsMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FillAddrmanFunction · 0.80
addrman.cppFile · 0.80
addpeeraddressFunction · 0.80
AddrManAddThenGoodFunction · 0.80

Calls 1

CheckFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FillAddrmanFunction · 0.64