pub type AnyRpcHeader = Header<AnyHeader>;
Expand description
A catch-all header type for handling headers on multiple networks.
Aliased Type§
struct AnyRpcHeader {
pub hash: FixedBytes<32>,
pub inner: AnyHeader,
pub total_difficulty: Option<Uint<256, 4>>,
pub size: Option<Uint<256, 4>>,
}
Fields§
§hash: FixedBytes<32>
Hash of the block
inner: AnyHeader
Inner consensus header.
total_difficulty: Option<Uint<256, 4>>
Total difficulty
size: Option<Uint<256, 4>>
Integer the size of this block in bytes.