Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block_direction.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_NETWORK_TYPES_BLOCK_DIRECTION_HPP
7
#define KAGOME_CORE_NETWORK_TYPES_BLOCK_DIRECTION_HPP
8
9
#include <cstdint>
10
#include <type_traits>
11
12
#include <scale/enum_traits.hpp>
13
14
#include "
common/outcome_throw.hpp
"
15
16
namespace
kagome::network
{
20
enum class
Direction
: uint8_t {
22
ASCENDING
= 0,
24
DESCENDING
= 1
25
};
26
27
}
// namespace kagome::network
28
29
SCALE_DEFINE_ENUM_VALUE_RANGE
(
kagome::network
,
30
Direction
,
31
kagome::network::Direction::ASCENDING
,
32
kagome::network::Direction::DESCENDING
);
33
34
#endif // KAGOME_CORE_NETWORK_TYPES_BLOCK_DIRECTION_HPP
kagome::network::Direction::DESCENDING
from parent to canonical child
outcome_throw.hpp
SCALE_DEFINE_ENUM_VALUE_RANGE
SCALE_DEFINE_ENUM_VALUE_RANGE(kagome::network, Direction, kagome::network::Direction::ASCENDING, kagome::network::Direction::DESCENDING)
kagome::network::Direction
Direction
Definition:
block_direction.hpp:20
kagome::network::Direction::ASCENDING
from child to parent
kagome::network
Definition:
author_api_impl.hpp:37
core
network
types
block_direction.hpp
Generated by
1.8.11