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

Method Add

src/addrman.cpp:1158–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1156}
1157
1158bool AddrManImpl::Add(const std::vector<CAddress>& vAddr, const CNetAddr& source, std::chrono::seconds time_penalty)
1159{
1160 LOCK(cs);
1161 Check();
1162 auto ret = Add_(vAddr, source, time_penalty);
1163 Check();
1164 return ret;
1165}
1166
1167bool AddrManImpl::Good(const CService& addr, NodeSeconds time)
1168{

Callers 11

get_socks_cbMethod · 0.45
ProcessMessageMethod · 0.45
ProcessAddrsMethod · 0.45
AppInitMainFunction · 0.45
ConnectBlockMethod · 0.45
UnserializeMethod · 0.45
AddFunction · 0.45
FillSignatureDataMethod · 0.45
ThreadDNSAddressSeedMethod · 0.45
ThreadOpenConnectionsMethod · 0.45

Calls 1

CheckFunction · 0.85

Tested by

no test coverage detected