Page MenuHomePhabricator

QA/mininode: Send all headers upfront in send_blocks_and_test to avoid sending an unconnected one
ClosedPublic

Authored by PiRK on Oct 6 2020, 10:20.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCa421408bfaca: QA/mininode: Send all headers upfront in send_blocks_and_test to avoid sending…
Summary

PR description:

While this doesn't currently trigger any problems, the network protocol does expect headers to be sent connectable in normal circumstances, and if too many are sent out of order will disconnect the peer.

Backport of Core PR15897

Test Plan

ninja && ninja check-functional

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 6 2020, 10:20
PiRK requested review of this revision.Oct 6 2020, 10:20

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Oct 6 2020, 13:00