Function zebra_state::service::finalized_state::disk_format::upgrade::cache_genesis_roots::run
source · pub fn run(
_initial_tip_height: Height,
upgrade_db: &ZebraDb,
cancel_receiver: &Receiver<CancelFormatChange>,
) -> Result<(), CancelFormatChange>
Expand description
Runs disk format upgrade for changing the sprout and history tree key types.
Returns Ok
if the upgrade completed, and Err
if it was cancelled.
§Panics
If the state is empty.