pub async fn upload_confirmed_blocks(
    blockstore: Arc<Blockstore>,
    bigtable: LedgerStorage,
    starting_slot: Slot,
    ending_slot: Option<Slot>,
    force_reupload: bool,
    exit: Arc<AtomicBool>
) -> Result<(), Box<dyn Error>>