HomePhabricator

Auto-finalize block once they reached a certain depth (by default 10)

Description

Auto-finalize block once they reached a certain depth (by default 10)

Summary:
This ensures that deep reorg are not possible.

Can be controlled by the -maxreorgdepth parameter. Set to -1 to disable.

Depends on D2083

Test Plan: Added an integration test.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity

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

Details

Provenance
deadalnixAuthored on Nov 18 2018, 14:05
MengerianPushed on Nov 20 2018, 19:23
Reviewer
Restricted Project
Differential Revision
D2102: Auto-finalize block once they reached a certain depth (by default 10)
Parents
rSTAGING59ee4dedf793: Add an RPC to finalize a block
Branches
Unknown
Tags
Unknown