Kagome
Polkadot Runtime Engine in C++17
|
#include <blocks_request.hpp>
Public Types | |
using | Fingerprint = size_t |
Public Member Functions | |
bool | attributeIsSet (const BlockAttribute &attribute) const |
Fingerprint | fingerprint () const |
Public Attributes | |
BlockAttributes | fields {} |
bits, showing, which parts of BlockData to return More... | |
primitives::BlockId | from {} |
start from this block More... | |
Direction | direction {} |
sequence direction More... | |
std::optional< uint32_t > | max {} |
Static Public Attributes | |
static constexpr BlockAttributes | kBasicAttributes |
includes HEADER, BODY and JUSTIFICATION More... | |
Request for blocks to another peer
Definition at line 23 of file blocks_request.hpp.
using kagome::network::BlocksRequest::Fingerprint = size_t |
Definition at line 43 of file blocks_request.hpp.
|
inline |
Definition at line 39 of file blocks_request.hpp.
|
inline |
Definition at line 70 of file blocks_request.hpp.
Direction kagome::network::BlocksRequest::direction {} |
sequence direction
Definition at line 29 of file blocks_request.hpp.
BlockAttributes kagome::network::BlocksRequest::fields {} |
bits, showing, which parts of BlockData to return
Definition at line 25 of file blocks_request.hpp.
primitives::BlockId kagome::network::BlocksRequest::from {} |
start from this block
Definition at line 27 of file blocks_request.hpp.
|
static |
includes HEADER, BODY and JUSTIFICATION
Definition at line 35 of file blocks_request.hpp.
std::optional<uint32_t> kagome::network::BlocksRequest::max {} |
maximum number of blocks to return; an implementation defined maximum is used when unspecified
Definition at line 32 of file blocks_request.hpp.