HomePhabricator

Add an RPC to finalize a block

Description

Add an RPC to finalize a block

Summary:
A finalized block cannot be reorged. It effectively behaves very similarly to a checkpoint.

Based on work from @dagurval

Depends on D2057

Test Plan:

./test/functional/test_runner.py abc-finalize-block

Reviewers: #bitcoin_abc, schancel, jasonbcox

Reviewed By: #bitcoin_abc, schancel, jasonbcox

Subscribers: sickpig, dagurval, jasonbcox, schancel

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

Details

Provenance
deadalnixAuthored on Nov 17 2018, 13:42
deadalnixPushed on Nov 20 2018, 16:32
Reviewer
Restricted Project
Differential Revision
D2083: Add an RPC to finalize a block
Parents
rABC45ca215ceb4f: Do not unpark children of blocks outside of the RPC
Branches
Unknown
Tags
Unknown