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
blocks_response.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_BLOCKS_RESPONSE_HPP
7
#define KAGOME_BLOCKS_RESPONSE_HPP
8
9
#include "
common/size_limited_containers.hpp
"
10
#include "
primitives/block_data.hpp
"
11
12
namespace
kagome::network
{
13
14
constexpr
size_t
kMaxBlocksInResponse
= 256;
15
19
struct
BlocksResponse
{
20
common::SLVector<primitives::BlockData, kMaxBlocksInResponse>
blocks
{};
21
};
22
23
}
// namespace kagome::network
24
25
#endif // KAGOME_BLOCKS_RESPONSE_HPP
kagome::network::kMaxBlocksInResponse
constexpr size_t kMaxBlocksInResponse
Definition:
blocks_response.hpp:14
block_data.hpp
kagome::network::BlocksResponse
Definition:
blocks_response.hpp:19
kagome::common::SizeLimitedContainer
Definition:
size_limited_containers.hpp:35
size_limited_containers.hpp
kagome::network
Definition:
author_api_impl.hpp:37
kagome::network::BlocksResponse::blocks
common::SLVector< primitives::BlockData, kMaxBlocksInResponse > blocks
Definition:
blocks_response.hpp:20
core
network
types
blocks_response.hpp
Generated by
1.8.11