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

Go to the source code of this file.

Namespaces

 kagome::blockchain
 

Typedefs

using kagome::blockchain::ReadableBufferStorage = storage::face::ReadableStorage< common::BufferView, common::Buffer >
 

Functions

outcome::result< std::optional< common::Buffer > > kagome::blockchain::idToLookupKey (const ReadableBufferStorage &map, const primitives::BlockId &id)
 
storage::trie::RootHash kagome::blockchain::trieRoot (const std::vector< std::pair< common::Buffer, common::Buffer >> &key_vals)