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

Method Select

src/addrman.cpp:1108–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108std::pair<CAddress, int64_t> AddrManImpl::Select(bool newOnly) const
1109{
1110 LOCK(cs);
1111 Check();
1112 const auto addrRet = Select_(newOnly);
1113 Check();
1114 return addrRet;
1115}
1116
1117std::vector<CAddress> AddrManImpl::GetAddr(size_t max_addresses, size_t max_pct, std::optional<Network> network) const
1118{

Callers 1

ThreadOpenConnectionsMethod · 0.45

Calls 1

CheckFunction · 0.85

Tested by

no test coverage detected