Function forest_filecoin::chain_sync::tipset_syncer::fetch_batch

source ยท
async fn fetch_batch<DB: Blockstore>(
    batch: Vec<Arc<Tipset>>,
    network: &SyncNetworkContext<DB>,
    db: &DB,
) -> Result<Vec<FullTipset>, TipsetRangeSyncerError>
Expand description

Ask peers for the Messages that these Tipsets should contain. Requests covering too many tipsets may be rejected. As of 2023-07-13, requesting for 8 tipsets works fine but requesting for 64 is flaky.