Page MenuHomePhabricator

net: Send post-verack handshake messages at most once
ClosedPublic

Authored by PiRK on Nov 12 2021, 09:04.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCd0db96b0219e: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable