Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block_id.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_PRIMITIVES_BLOCK_ID_HPP
7
#define KAGOME_CORE_PRIMITIVES_BLOCK_ID_HPP
8
9
#include <boost/variant.hpp>
10
11
#include "
common/blob.hpp
"
12
#include "
primitives/common.hpp
"
13
14
namespace
kagome::primitives
{
15
using
BlockHash
=
common::Hash256
;
16
18
using
BlockId
= boost::variant<BlockHash, BlockNumber>;
19
}
// namespace kagome::primitives
20
21
#endif // KAGOME_CORE_PRIMITIVES_BLOCK_ID_HPP
common.hpp
kagome::common::Hash256
Blob< 32 > Hash256
Definition:
blob.hpp:230
kagome::common::Blob< 32 >
kagome::primitives
Definition:
author_api.hpp:19
blob.hpp
kagome::primitives::BlockId
boost::variant< BlockHash, BlockNumber > BlockId
Block id is the variant over BlockHash and BlockNumber.
Definition:
block_id.hpp:18
core
primitives
block_id.hpp
Generated by
1.8.11