HomePhabricator

[net processing] Move send ping message logic into function

Description

[net processing] Move send ping message logic into function

Summary:
Partial backport of core#20721:
https://github.com/bitcoin/bitcoin/pull/20721/commits/0b43b81f69ff13dbc1e893a80950f186690b4f62

Ref T1696.

Depends on D10875.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1696

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Jun 21 2020, 21:23
FabienCommitted on Jan 25 2022, 16:39
FabienPushed on Jan 25 2022, 16:39
Reviewer
Restricted Project
Differential Revision
D10876: [net processing] Move send ping message logic into function
Parents
rABCe5046830a7fe: [net] Add RunInactivityChecks()
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task