HomePhabricator

always unpark even when -parkdeepreorg=0

Description

always unpark even when -parkdeepreorg=0

Summary:
The parked / parkedparent flags do get saved in the block index,
and so if we restart with -parkdeepreorg=0 we don't want to get
stuck in a situation where a chain gets permanently parked until
the user manually intervenes with unparkblock RPC.

Test Plan: ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Jan 20 2020, 03:44
markblundebergPushed on Jan 28 2020, 14:40
Reviewer
Restricted Project
Differential Revision
D5027: always unpark even when -parkdeepreorg=0
Parents
rSTAGING0e59f54f82e7: LastCommonAncestor: use skiplist when available
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/15843

Event Timeline

Mark Lundeberg <markblundeberg@users.noreply.github.com> committed rSTAGINGabf0af027c00: always unpark even when -parkdeepreorg=0 (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).Jan 28 2020, 12:57