Function solana_local_cluster::integration_tests::copy_blocks
source · pub fn copy_blocks(
end_slot: Slot,
source: &Blockstore,
dest: &Blockstore,
is_trusted: bool
)
Expand description
Copy blocks from source
blockstore to dest
blockstore
Set is_trusted
to avoid sanity checks typically performed by Blockstore::insert_shreds()