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

Method ShouldRunInactivityChecks

src/net.cpp:2029–2032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2027}
2028
2029bool CConnman::ShouldRunInactivityChecks(const CNode& node, NodeClock::time_point now) const
2030{
2031 return node.m_connected + m_peer_connect_timeout < now;
2032}
2033
2034bool CConnman::InactivityCheck(const CNode& node, NodeClock::time_point now) const
2035{

Callers 1

MaybeSendPingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected