Kagome
Polkadot Runtime Engine in C++17
|
#include <trie_storage.hpp>
Public Member Functions | |
virtual | ~TrieStorage ()=default |
virtual outcome::result< std::unique_ptr< PersistentTrieBatch > > | getPersistentBatchAt (const RootHash &root)=0 |
virtual outcome::result< std::unique_ptr< EphemeralTrieBatch > > | getEphemeralBatchAt (const RootHash &root) const =0 |
Grants access to the storage in two ways:
Definition at line 22 of file trie_storage.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::storage::trie::TrieStorageImpl.
|
pure virtual |
Initializes a batch at the provided state
Implemented in kagome::storage::trie::TrieStorageImpl.