Page MenuHomePhabricator

Fix handling of invalid headers
ClosedPublic

Authored by deadalnix on Wed, Jun 24, 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Wed, Jun 24, 22:57
Herald added a reviewer: Restricted Project. · View Herald TranscriptWed, Jun 24, 22:57
deadalnix requested review of this revision.Wed, Jun 24, 22:57
teamcity edited the summary of this revision. (Show Details)Wed, Jun 24, 22:57

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

jasonbcox accepted this revision.Wed, Jun 24, 23:59
This revision is now accepted and ready to land.Wed, Jun 24, 23:59
This revision was automatically updated to reflect the committed changes.