Kagome
Polkadot Runtime Engine in C++17
|
#include <trie_node.hpp>
Public Member Functions | |
DummyNode (common::Buffer key) | |
int | getType () const override |
Public Member Functions inherited from kagome::storage::trie::Node | |
virtual | ~Node ()=default |
Public Attributes | |
common::Buffer | db_key |
Used in branch nodes to indicate that there is a node, but this node is not interesting at the moment and need not be retrieved from the storage.
Definition at line 191 of file trie_node.hpp.
|
inlineexplicit |
Constructs a dummy node
key | a storage key, which is a hash of an encoded node according to PolkaDot specification |
Definition at line 197 of file trie_node.hpp.
|
inlineoverridevirtual |
Implements kagome::storage::trie::Node.
Definition at line 199 of file trie_node.hpp.
common::Buffer kagome::storage::trie::DummyNode::db_key |
Definition at line 206 of file trie_node.hpp.