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

Method GetAddrLocal

src/net.cpp:598–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598CService CNode::GetAddrLocal() const
599{
600 AssertLockNotHeld(m_addr_local_mutex);
601 LOCK(m_addr_local_mutex);
602 return addrLocal;
603}
604
605void CNode::SetAddrLocal(const CService& addrLocalIn) {
606 AssertLockNotHeld(m_addr_local_mutex);

Callers 3

IsPeerAddrLocalGoodFunction · 0.80
GetLocalAddrForPeerFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.64