HomePhabricator

Reduce checkpoints' effect on consensus.
dce8360e44d5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Reduce checkpoints' effect on consensus.

Instead of only checking height to decide whether to disable script checks,
actually check whether a block is an ancestor of a checkpoint, up to which
headers have been validated. This means that we don't have to prevent
accepting a side branch anymore - it will be safe, just less fast to
do.

We still need to prevent being fed a multitude of low-difficulty headers
filling up our memory. The mechanism for that is unchanged for now: once
a checkpoint is reached with headers, no headers chain branching off before
that point are allowed anymore.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 19 2015, 12:34
deadalnixPushed on May 14 2017, 22:04
Parents
rABC23254131a3fd: Merge pull request #6093
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABCdce8360e44d5: Reduce checkpoints' effect on consensus. (authored by Pieter Wuille <pieter.wuille@gmail.com>).May 13 2015, 19:52