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

Function AddAddressKnown

src/net_processing.cpp:808–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806}
807
808static void AddAddressKnown(Peer& peer, const CAddress& addr)
809{
810 assert(peer.m_addr_known);
811 peer.m_addr_known->insert(addr.GetKey());
812}
813
814static void PushAddress(Peer& peer, const CAddress& addr, FastRandomContext& insecure_rand)
815{

Callers 1

ProcessMessageMethod · 0.85

Calls 2

insertMethod · 0.45
GetKeyMethod · 0.45

Tested by

no test coverage detected