Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_PRIMITIVES_BLOCK_HPP
7
#define KAGOME_PRIMITIVES_BLOCK_HPP
8
9
#include "
primitives/block_header.hpp
"
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
22
BlockHeader
header
;
23
BlockBody
body
{};
24
};
25
}
// namespace kagome::primitives
26
27
#endif // KAGOME_PRIMITIVES_BLOCK_HPP
kagome::primitives::BlockBody
std::vector< Extrinsic > BlockBody
Definition:
block.hpp:14
kagome::primitives::Block
Block class represents polkadot block primitive.
Definition:
block.hpp:19
extrinsic.hpp
kagome::primitives
Definition:
author_api.hpp:19
block_header.hpp
kagome::primitives::Block::SCALE_TIE
SCALE_TIE(2)
kagome::primitives::Block::header
BlockHeader header
block header
Definition:
block.hpp:22
tie.hpp
kagome::primitives::BlockHeader
Definition:
block_header.hpp:25
kagome::primitives::Block::body
BlockBody body
extrinsics collection
Definition:
block.hpp:23
core
primitives
block.hpp
Generated by
1.8.11