Function zebra_state::service::finalized_state::disk_format::upgrade::add_subtrees::reset
source ยท pub fn reset(
_initial_tip_height: Height,
upgrade_db: &ZebraDb,
cancel_receiver: &Receiver<CancelFormatChange>,
) -> Result<(), CancelFormatChange>
Expand description
Reset data from previous upgrades. This data can be complete or incomplete.
Returns Ok
if the upgrade completed, and Err
if it was cancelled.