Return true if we should disconnect the peer for failing an inactivity check.

Synopsis

Declared in <net.h>

bool
ShouldRunInactivityChecks(
    CNode const& node,
    NodeClock::time_point now) const;

Return Value

true if the peer should be disconnected for inactivity.

Parameters

Name

Description

node

the peer to check.

now

the current time.

Created with MrDocs