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

Method GetAddrLocal

src/net.cpp:595–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595CService CNode::GetAddrLocal() const
596{
597 AssertLockNotHeld(m_addr_local_mutex);
598 LOCK(m_addr_local_mutex);
599 return m_addr_local;
600}
601
602void CNode::SetAddrLocal(const CService& addrLocalIn) {
603 AssertLockNotHeld(m_addr_local_mutex);

Callers 3

IsPeerAddrLocalGoodFunction · 0.80
GetLocalAddrForPeerFunction · 0.80
net.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected