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

Method size

src/addrman.cpp:1059–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057}
1058
1059size_t AddrManImpl::size() const
1060{
1061 LOCK(cs); // TODO: Cache this in an atomic to avoid this overhead
1062 return vRandom.size();
1063}
1064
1065bool AddrManImpl::Add(const std::vector<CAddress>& vAddr, const CNetAddr& source, int64_t nTimePenalty)
1066{

Callers 10

SerializeMethod · 0.45
UnserializeMethod · 0.45
CreateMethod · 0.45
SwapRandomMethod · 0.45
DeleteMethod · 0.45
Good_Method · 0.45
Add_Method · 0.45
GetAddr_Method · 0.45
SelectTriedCollision_Method · 0.45
CheckAddrmanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected