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

Method LogPeer

src/net.cpp:712–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712std::string CNode::LogPeer() const
713{
714 auto peer_info{strprintf("peer=%d", GetId())};
715 if (fLogIPs) {
716 return strprintf("%s, peeraddr=%s", peer_info, addr.ToStringAddrPort());
717 } else {
718 return peer_info;
719 }
720}
721
722std::string CNode::DisconnectMsg() const
723{

Callers 7

SendBlockTransactionsMethod · 0.80
LogBlockHeaderMethod · 0.80
ProcessMessageMethod · 0.80
ProcessPongMethod · 0.80
SendMessagesMethod · 0.80
PushMessageMethod · 0.80

Calls 1

ToStringAddrPortMethod · 0.80

Tested by

no test coverage detected