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

Method SetServices

src/addrman.cpp:1236–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234}
1235
1236void AddrManImpl::SetServices(const CService& addr, ServiceFlags nServices)
1237{
1238 LOCK(cs);
1239 Check();
1240 SetServices_(addr, nServices);
1241 Check();
1242}
1243
1244std::optional<AddressPosition> AddrManImpl::FindAddressEntry(const CAddress& addr)
1245{

Callers 3

ProcessMessageMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
addrman.cppFile · 0.80

Calls 1

CheckFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64