Kagome
Polkadot Runtime Engine in C++17
block.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_PRIMITIVES_BLOCK_HPP
7 #define KAGOME_PRIMITIVES_BLOCK_HPP
8 
10 #include "primitives/extrinsic.hpp"
11 #include "scale/tie.hpp"
12 
13 namespace kagome::primitives {
14  using BlockBody = std::vector<Extrinsic>;
15 
19  struct Block {
20  SCALE_TIE(2);
21 
24  };
25 } // namespace kagome::primitives
26 
27 #endif // KAGOME_PRIMITIVES_BLOCK_HPP
std::vector< Extrinsic > BlockBody
Definition: block.hpp:14
Block class represents polkadot block primitive.
Definition: block.hpp:19
BlockHeader header
block header
Definition: block.hpp:22
BlockBody body
extrinsics collection
Definition: block.hpp:23