Kagome
Polkadot Runtime Engine in C++17
state_response.hpp File Reference
Include dependency graph for state_response.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::network::StateEntry
 A key-value pair. More...
 
struct  kagome::network::KeyValueStateEntry
 A key value state. More...
 
struct  kagome::network::StateResponse
 

Namespaces

 kagome::network
 

Class Documentation

struct kagome::network::StateEntry

A key-value pair.

Definition at line 15 of file state_response.hpp.

Collaboration diagram for kagome::network::StateEntry:
Class Members
Buffer key
Buffer value
struct kagome::network::KeyValueStateEntry

A key value state.

Definition at line 21 of file state_response.hpp.

Collaboration diagram for kagome::network::KeyValueStateEntry:
Class Members
bool complete Set to true when there are no more keys to return.
vector< StateEntry > entries A collection of keys-values.
RootHash state_root

Root of for this level, empty length bytes if top level.

struct kagome::network::StateResponse

Response to the StateRequest

Definition at line 34 of file state_response.hpp.

Collaboration diagram for kagome::network::StateResponse:
Class Members
vector< KeyValueStateEntry > entries

A collection of keys-values states. Only populated if no_proof is true

Buffer proof If no_proof is false in request, this contains proof nodes.