HomePhabricator

net: Send post-verack handshake messages at most once

Description

net: Send post-verack handshake messages at most once

Summary:
There is no need to send SENDHEADERS and SENDCMPCT messages as a reply to each VERACK that is received. For alive checks, a PING/PONG can be used.

This is a backport of core#20146

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Oct 14 2020, 08:31
PiRKCommitted on Nov 17 2021, 16:38
PiRKPushed on Nov 17 2021, 16:38
Reviewer
Restricted Project
Differential Revision
D10469: net: Send post-verack handshake messages at most once
Parents
rABC74290d4c5ee5: wallet: remove db mode string
Branches
Unknown
Tags
Unknown