6 #ifndef KAGOME_BLOCKCHAIN_COMMON_HPP 7 #define KAGOME_BLOCKCHAIN_COMMON_HPP 32 const std::vector<std::pair<common::Buffer, common::Buffer>> &key_vals);
35 #endif // KAGOME_BLOCKCHAIN_COMMON_HPP
outcome::result< std::optional< common::Buffer > > idToLookupKey(const ReadableBufferStorage &map, const primitives::BlockId &id)
storage::face::ReadableStorage< common::BufferView, common::Buffer > ReadableBufferStorage
boost::variant< BlockHash, BlockNumber > BlockId
Block id is the variant over BlockHash and BlockNumber.
storage::trie::RootHash trieRoot(const std::vector< std::pair< common::Buffer, common::Buffer >> &key_vals)