File tree Expand file tree Collapse file tree
substrate/client/network/sync/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ pub trait BlockServer<Block: BlockT>: Send {
3535/// that can be used to initiate concurrent downloads.
3636#[ async_trait:: async_trait]
3737pub trait BlockDownloader < Block : BlockT > : Send + Sync {
38- /// Performs the protocol specific sequence to fetch the block from the peer.
38+ /// Performs the protocol specific sequence to fetch the blocks from the peer.
3939 /// Output: if the download succeeds, the response is a `Vec<u8>` which is
4040 /// in a format specific to the protocol implementation. The block data
4141 /// can be extracted from this response using [`BlockDownloader::block_response_into_blocks`].
42- async fn download_block (
42+ async fn download_blocks (
4343 & self ,
4444 who : PeerId ,
4545 request : BlockRequest < Block > ,
You can’t perform that action at this time.
0 commit comments