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
adapters
helpers
impl
messages
protocols
types
block_announce.hpp
block_attributes.hpp
block_direction.hpp
blocks_request.hpp
blocks_response.hpp
bootstrap_nodes.hpp
collator_messages.hpp
grandpa_message.hpp
no_data_message.hpp
own_peer_info.hpp
propagate_transactions.hpp
roles.hpp
state_request.hpp
state_response.hpp
status.hpp
block_announce_observer.hpp
block_announce_transmitter.hpp
collation_observer.hpp
common.hpp
extrinsic_observer.hpp
grandpa_transmitter.hpp
peer_manager.hpp
peering_config.hpp
protocol_base.hpp
reputation_change.hpp
reputation_repository.hpp
req_collation_observer.hpp
router.hpp
rpc.hpp
state_protocol_observer.hpp
sync_protocol_observer.hpp
synchronizer.hpp
transactions_transmitter.hpp
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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