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

Method SetServices_

src/addrman.cpp:877–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877void AddrManImpl::SetServices_(const CService& addr, ServiceFlags nServices)
878{
879 AssertLockHeld(cs);
880
881 AddrInfo* pinfo = Find(addr);
882
883 // if not found, bail out
884 if (!pinfo)
885 return;
886
887 AddrInfo& info = *pinfo;
888
889 // update info
890 info.nServices = nServices;
891}
892
893void AddrManImpl::ResolveCollisions_()
894{

Callers

nothing calls this directly

Calls 1

FindFunction · 0.85

Tested by

no test coverage detected