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