HomePhabricator

Partially revert core PR5927

Description

Partially revert core PR5927

Summary: This reintroduce code that check headers against known checkpoint. This ensures we do not accept a chain of header that is lacking the checkpoint we know of.

Test Plan:
Also reverted the test.
This would probably deserve an integration test in the QA suite, but considering the code has existed for a very long time, we can assume it works.

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on Apr 26 2018, 02:08
deadalnixPushed on Apr 26 2018, 14:59
Reviewer
Restricted Project
Differential Revision
D1308: Partially revert core PR5927
Parents
rABCb00eb5bde21c: Make PUSHDATA opcodes have names in ParseScript
Branches
Unknown
Tags
Unknown