HomePhabricator

[net] Changes to RunInactivityChecks

Description

[net] Changes to RunInactivityChecks

Summary:

  • rename to ShouldRunInactivityChecks
  • take optional time now
  • call from within InactivityChecks
  • update comment
  • change ordering of inequality

This is a backport of core#21198

Depends on D10954

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10955

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Feb 16 2021, 15:55
PiRKCommitted on Feb 2 2022, 16:07
PiRKPushed on Feb 2 2022, 16:07
Reviewer
Restricted Project
Differential Revision
D10955: [net] Changes to RunInactivityChecks
Parents
rABC5070d1e559b2: scripted-diff: Rename m_last_send and m_last_recv
Branches
Unknown
Tags
Unknown