HomePhabricator

Add an RPC to finalize a block

Authored by deadalnix on Sat, Nov 17, 13:42.

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

Committed
deadalnixTue, Nov 20, 16:32
Pushed
MengerianTue, Nov 20, 19:23
Reviewer
Restricted Project
Differential Revision
D2083: Add an RPC to finalize a block
Parents
rSTAGING45ca215ceb4f: Do not unpark children of blocks outside of the RPC
Branches
Unknown
Tags
Unknown