HomePhabricator

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

Authored by deadalnix on Sun, Nov 18, 14:05.

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

Committed
deadalnixTue, Nov 20, 16:32
Pushed
MengerianTue, Nov 20, 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