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

Method ShouldRunInactivityChecks

src/net.cpp:1376–1379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1374}
1375
1376bool CConnman::ShouldRunInactivityChecks(const CNode& node, std::chrono::seconds now) const
1377{
1378 return node.m_connected + m_peer_connect_timeout < now;
1379}
1380
1381bool CConnman::InactivityCheck(const CNode& node) const
1382{

Callers 1

MaybeSendPingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected