Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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