Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
account.hpp
apply_result.hpp
arithmetic_error.cpp
arithmetic_error.hpp
author_api_primitives.hpp
authority.hpp
authority_discovery_id.hpp
babe_configuration.hpp
block.hpp
block_data.hpp
block_header.cpp
block_header.hpp
block_id.hpp
check_inherents_result.hpp
code_substitutes.hpp
common.hpp
compact_integer.hpp
digest.hpp
event_types.hpp
extrinsic.hpp
inherent_data.cpp
inherent_data.hpp
justification.hpp
math.hpp
opaque_metadata.hpp
parachain_host.hpp
rpc_methods.hpp
runtime_dispatch_info.hpp
scheduled_change.hpp
session_key.hpp
ss58_codec.cpp
ss58_codec.hpp
strobe.hpp
token_error.cpp
token_error.hpp
transaction.hpp
transaction_validity.cpp
transaction_validity.hpp
transcript.hpp
version.cpp
version.hpp
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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