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