Type Alias sc_network_common::sync::message::BlockResponse

source ·
pub type BlockResponse<B> = BlockResponse<<B as BlockT>::Header, <B as BlockT>::Hash, <B as BlockT>::Extrinsic>;
Expand description

Type alias for using the BlockResponse type using block type parameters.

Aliased Type§

struct BlockResponse<B> {
    pub id: u64,
    pub blocks: Vec<BlockData<<B as Block>::Header, <B as Block>::Hash, <B as Block>::Extrinsic>>,
}

Fields§

§id: u64

Id of a request this response was made for.

§blocks: Vec<BlockData<<B as Block>::Header, <B as Block>::Hash, <B as Block>::Extrinsic>>

Block data for the requested sequence.