6 #ifndef KAGOME_CORE_STORAGE_PREDEFINED_KEYS_HPP 7 #define KAGOME_CORE_STORAGE_PREDEFINED_KEYS_HPP 11 #include <fmt/format.h> 14 using namespace common::literals;
21 ":kagome:block_tree_leaves"_buf;
26 ":kagome:runtime_hashes"_buf;
31 ":child_storage:default:"_buf;
34 ":kagome:applying_block"_buf;
37 ":kagome:authority_manager_state"_buf;
40 ":kagome:block_of_incomplete_sync_state"_buf;
42 template <
typename Tag>
45 fmt::format(
":kagome:babe_config_repo_state:{}", tag));
50 #endif // KAGOME_CORE_STORAGE_PREDEFINED_KEYS_HPP const common::Buffer kBlockTreeLeavesLookupKey
Class represents arbitrary (including empty) byte buffer.
common::Buffer kBabeConfigRepoStateLookupKey(Tag tag)
const common::Buffer kOffchainWorkerStoragePrefix
const common::Buffer kActivePeersKey
const common::Buffer kChildStorageDefaultPrefix
const common::Buffer kBlockOfIncompleteSyncStateLookupKey
const common::Buffer kAuthorityManagerStateLookupKey
static SLBuffer fromString(const std::string_view &src)
stores content of a string to byte array
const common::Buffer kExtrinsicIndexKey
const common::Buffer kApplyingBlockInfoLookupKey
const common::Buffer kRuntimeCodeKey
const common::Buffer kRuntimeHashesLookupKey