Type Alias sc_network_common::sync::message::BlockData

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

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

Aliased Type§

struct BlockData<B> {
    pub hash: <B as Block>::Hash,
    pub header: Option<<B as Block>::Header>,
    pub body: Option<Vec<<B as Block>::Extrinsic>>,
    pub indexed_body: Option<Vec<Vec<u8>>>,
    pub receipt: Option<Vec<u8>>,
    pub message_queue: Option<Vec<u8>>,
    pub justification: Option<Vec<u8>>,
    pub justifications: Option<Justifications>,
}

Fields§

§hash: <B as Block>::Hash

Block header hash.

§header: Option<<B as Block>::Header>

Block header if requested.

§body: Option<Vec<<B as Block>::Extrinsic>>

Block body if requested.

§indexed_body: Option<Vec<Vec<u8>>>

Block body indexed transactions if requested.

§receipt: Option<Vec<u8>>

Block receipt if requested.

§message_queue: Option<Vec<u8>>

Block message queue if requested.

§justification: Option<Vec<u8>>

Justification if requested.

§justifications: Option<Justifications>

Justifications if requested.