MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / AddPeerTest

Method AddPeerTest

libi2pd/SSU2.cpp:662–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660 }
661
662 bool SSU2Server::AddPeerTest (uint32_t nonce, std::shared_ptr<SSU2Session> aliceSession, uint64_t ts)
663 {
664 return m_PeerTests.emplace (nonce, std::pair{ aliceSession, ts }).second;
665 }
666
667 std::shared_ptr<SSU2Session> SSU2Server::GetPeerTest (uint32_t nonce)
668 {

Callers 1

HandlePeerTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected