Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::BlockHeader Struct Reference

#include <block_header.hpp>

Collaboration diagram for kagome::primitives::BlockHeader:

Public Member Functions

bool operator== (const BlockHeader &rhs) const
 
bool operator!= (const BlockHeader &rhs) const
 

Public Attributes

BlockHash parent_hash {}
 32-byte Blake2s hash of parent header More...
 
BlockNumber number = 0u
 index of the block in the chain More...
 
storage::trie::RootHash state_root {}
 root of the Merkle tree More...
 
common::Hash256 extrinsics_root {}
 field for validation integrity More...
 
Digest digest {}
 chain-specific auxiliary data More...
 

Detailed Description

of a block

Definition at line 25 of file block_header.hpp.

Member Function Documentation

bool kagome::primitives::BlockHeader::operator!= ( const BlockHeader rhs) const
inline

Definition at line 41 of file block_header.hpp.

bool kagome::primitives::BlockHeader::operator== ( const BlockHeader rhs) const
inline

Definition at line 32 of file block_header.hpp.

Member Data Documentation

Digest kagome::primitives::BlockHeader::digest {}

chain-specific auxiliary data

Definition at line 30 of file block_header.hpp.

common::Hash256 kagome::primitives::BlockHeader::extrinsics_root {}

field for validation integrity

Definition at line 29 of file block_header.hpp.

BlockNumber kagome::primitives::BlockHeader::number = 0u

index of the block in the chain

Definition at line 27 of file block_header.hpp.

BlockHash kagome::primitives::BlockHeader::parent_hash {}

32-byte Blake2s hash of parent header

Definition at line 26 of file block_header.hpp.

storage::trie::RootHash kagome::primitives::BlockHeader::state_root {}

root of the Merkle tree

Definition at line 28 of file block_header.hpp.


The documentation for this struct was generated from the following file: