pub fn blocks_by_roots_request(
        peer_id: PeerId,
        request_id: PeerRequestId,
        request: BlocksByRootRequest,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::BlocksByRootsRequest {
                peer_id,
                request_id,
                request,
            },
        }
    }
/// Create a new work event to process `BlocksByRootRequest`s from the RPC network.
Create a new work event to process `BlocksByRootRequest`s from the RPC network.
Create a new work event to process ` BlocksByRootRequest ` s from the RPC network .
pub fn blocks_by_roots_request(
        peer_id: PeerId,
        request_id: PeerRequestId,
        request: BlocksByRootRequest,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::BlocksByRootsRequest {
                peer_id,
                request_id,
                request,
            },
        }
    }
pub fn blocks_by_roots_request ( peer_id : PeerId , request_id : PeerRequestId , request : BlocksByRootRequest , ) -> Self { Self { drop_during_sync : false , work : Work :: BlocksByRootsRequest { peer_id , request_id , request , } , } }
Create a new work event to process `BlocksByRootRequest`s from the RPC network.
Create a new work event to process ` BlocksByRootRequest ` s from the RPC network .
peer_id
PeerId
request_id
PeerRequestId
request
BlocksByRootRequest