Page MenuHomePhabricator

Fix handling of invalid headers
ClosedPublic

Authored by deadalnix on Jun 24 2020, 22:57.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Commits
rABC599693863bae: Fix handling of invalid headers
Summary

We only disconnect outbound peers (excluding HB compact block peers and manual
connections) when receiving a CACHED_INVALID header.

This is a partial backport of Core PR15141 : https://github.com/bitcoin/bitcoin/pull/15141/commits/6b34bc6b6f54f85537494cbea3846d5d195a06d9

Test Plan
ninja all check-all

Event Timeline

[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.Jun 24 2020, 23:59
This revision was automatically updated to reflect the committed changes.