Return true if we should disconnect the peer for failing an inactivity check.
Declared in <net.h>
bool
ShouldRunInactivityChecks(
CNode const& node,
NodeClock::time_point now) const;
true if the peer should be disconnected for inactivity.
| Name | Description |
|---|---|
| node | the peer to check. |
| now | the current time. |