pub(crate) async fn fetch_block_by_height<I>(
        self,
        block_height: u64,
        peer: I,
    ) -> Option<FetchResult<BlockByHeight, I>>
    where
        REv: From<FetcherRequest<I, BlockByHeight>>,
        I: Send + 'static,
    {
        self.make_request(
            |responder| FetcherRequest::Fetch {
                id: block_height,
                peer,
                responder,
            },
            QueueKind::Regular,
        )
        .await
    }
/// Requests a linear chain block at `block_height`.
Requests a linear chain block at `block_height`.
Requests a linear chain block at ` block_height ` .
pub(crate) async fn fetch_block_by_height<I>(
        self,
        block_height: u64,
        peer: I,
    ) -> Option<FetchResult<BlockByHeight, I>>
    where
        REv: From<FetcherRequest<I, BlockByHeight>>,
        I: Send + 'static,
    {
        self.make_request(
            |responder| FetcherRequest::Fetch {
                id: block_height,
                peer,
                responder,
            },
            QueueKind::Regular,
        )
        .await
    }
pub ( crate ) async fn fetch_block_by_height < I > ( self , block_height : u64 , peer : I , ) -> Option < FetchResult < BlockByHeight , I > > where REv : From < FetcherRequest < I , BlockByHeight > > , I : Send + ' static , { self . make_request ( | responder | FetcherRequest :: Fetch { id : block_height , peer , responder , } , QueueKind :: Regular , ) . await }
Requests a linear chain block at `block_height`.
Requests a linear chain block at ` block_height ` .
self
block_height
u64
peer
I
self
block_height
u64
peer
I