pub(crate) async fn fetch_block<I>(
        self,
        block_hash: BlockHash,
        peer: I,
    ) -> Option<FetchResult<Block, I>>
    where
        REv: From<FetcherRequest<I, Block>>,
        I: Send + 'static,
    {
        self.make_request(
            |responder| FetcherRequest::Fetch {
                id: block_hash,
                peer,
                responder,
            },
            QueueKind::Regular,
        )
        .await
    }
/// Gets the requested block using the `BlockFetcher`
Gets the requested block using the `BlockFetcher`
Gets the requested block using the ` BlockFetcher `
pub(crate) async fn fetch_block<I>(
        self,
        block_hash: BlockHash,
        peer: I,
    ) -> Option<FetchResult<Block, I>>
    where
        REv: From<FetcherRequest<I, Block>>,
        I: Send + 'static,
    {
        self.make_request(
            |responder| FetcherRequest::Fetch {
                id: block_hash,
                peer,
                responder,
            },
            QueueKind::Regular,
        )
        .await
    }
pub ( crate ) async fn fetch_block < I > ( self , block_hash : BlockHash , peer : I , ) -> Option < FetchResult < Block , I > > where REv : From < FetcherRequest < I , Block > > , I : Send + ' static , { self . make_request ( | responder | FetcherRequest :: Fetch { id : block_hash , peer , responder , } , QueueKind :: Regular , ) . await }
Gets the requested block using the `BlockFetcher`
Gets the requested block using the ` BlockFetcher `
self
block_hash
BlockHash
peer
I
self
block_hash
BlockHash
peer
I