Function solana_ledger::bigtable_upload::upload_confirmed_blocks
source ยท pub async fn upload_confirmed_blocks(
blockstore: Arc<Blockstore>,
bigtable: LedgerStorage,
starting_slot: Slot,
ending_slot: Slot,
config: ConfirmedBlockUploadConfig,
exit: Arc<AtomicBool>
) -> Result<Slot, Box<dyn Error>>
Expand description
Uploads a range of blocks from a Blockstore to bigtable LedgerStorage
Returns the Slot of the last block checked. If no blocks in the range [staring_slot, ending_slot]
are found in Blockstore, this value is equal to ending_slot
.