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

Method Add

src/addrman.cpp:1065–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065bool AddrManImpl::Add(const std::vector<CAddress>& vAddr, const CNetAddr& source, int64_t nTimePenalty)
1066{
1067 LOCK(cs);
1068 Check();
1069 auto ret = Add_(vAddr, source, nTimePenalty);
1070 Check();
1071 return ret;
1072}
1073
1074bool AddrManImpl::Good(const CService& addr, int64_t nTime)
1075{

Callers 4

ProcessMessageMethod · 0.45
ConnectBlockMethod · 0.45
ThreadDNSAddressSeedMethod · 0.45
ThreadOpenConnectionsMethod · 0.45

Calls 1

CheckFunction · 0.85

Tested by

no test coverage detected