|
Kagome
Polkadot Runtime Engine in C++17
|
Namespaces | |
| changes_trie | |
| face | |
| trie | |
Classes | |
| class | InMemoryBatch |
| class | InMemoryStorage |
| class | RocksDB |
| class | RocksDBCursor |
Typedefs | |
| using | Buffer = common::SLBuffer< std::numeric_limits< size_t >::max()> |
| using | BufferView = common::BufferView |
| using | BufferConstRef = common::BufferConstRef |
| using | BufferBatch = face::WriteBatch< BufferView, Buffer > |
| using | ReadOnlyBufferMap = face::ReadOnlyMap< BufferView, Buffer > |
| using | BufferStorage = face::GenericStorage< Buffer, Buffer, BufferView > |
| using | BufferMap = face::GenericMap< BufferView, Buffer > |
| using | BufferMapCursor = face::MapCursor< BufferView, BufferConstRef, BufferView > |
| using | BufferStorageCursor = face::MapCursor< Buffer, Buffer, BufferView > |
Enumerations | |
| enum | DatabaseError : int { DatabaseError::OK = 0, DatabaseError::NOT_FOUND = 1, DatabaseError::CORRUPTION = 2, DatabaseError::NOT_SUPPORTED = 3, DatabaseError::INVALID_ARGUMENT = 4, DatabaseError::IO_ERROR = 5, DatabaseError::DB_PATH_NOT_CREATED = 6, DatabaseError::UNKNOWN = 1000 } |
| universal database interface error More... | |
Functions | |
| template<typename Tag > | |
| common::Buffer | kBabeConfigRepoStateLookupKey (Tag tag) |
| DatabaseError | status_as_error (const rocksdb::Status &s) |
| rocksdb::Slice | make_slice (const common::BufferView &buf) |
| gsl::span< const uint8_t > | make_span (const rocksdb::Slice &s) |
| common::Buffer | make_buffer (const rocksdb::Slice &s) |
Variables | |
| const common::Buffer | kRuntimeCodeKey = ":code"_buf |
| const common::Buffer | kExtrinsicIndexKey = ":extrinsic_index"_buf |
| const common::Buffer | kBlockTreeLeavesLookupKey |
| const common::Buffer | kActivePeersKey = ":kagome:last_active_peers"_buf |
| const common::Buffer | kRuntimeHashesLookupKey |
| const common::Buffer | kOffchainWorkerStoragePrefix = ":kagome:ocw"_buf |
| const common::Buffer | kChildStorageDefaultPrefix |
| const common::Buffer | kApplyingBlockInfoLookupKey |
| const common::Buffer | kAuthorityManagerStateLookupKey |
| const common::Buffer | kBlockOfIncompleteSyncStateLookupKey |
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 This file contains convenience typedefs for interfaces from face/, as they are mostly used with Buffer key and value types
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
| using kagome::storage::Buffer = typedef common::SLBuffer<std::numeric_limits<size_t>::max()> |
Definition at line 21 of file buffer_map_types.hpp.
| using kagome::storage::BufferBatch = typedef face::WriteBatch<BufferView, Buffer> |
Definition at line 25 of file buffer_map_types.hpp.
| using kagome::storage::BufferConstRef = typedef common::BufferConstRef |
Definition at line 23 of file buffer_map_types.hpp.
| using kagome::storage::BufferMap = typedef face::GenericMap<BufferView, Buffer> |
Definition at line 31 of file buffer_map_types.hpp.
| using kagome::storage::BufferMapCursor = typedef face::MapCursor<BufferView, BufferConstRef, BufferView> |
Definition at line 34 of file buffer_map_types.hpp.
| using kagome::storage::BufferStorage = typedef face::GenericStorage<Buffer, Buffer, BufferView> |
Definition at line 29 of file buffer_map_types.hpp.
| using kagome::storage::BufferStorageCursor = typedef face::MapCursor<Buffer, Buffer, BufferView> |
Definition at line 36 of file buffer_map_types.hpp.
| using kagome::storage::BufferView = typedef common::BufferView |
Definition at line 22 of file buffer_map_types.hpp.
| using kagome::storage::ReadOnlyBufferMap = typedef face::ReadOnlyMap<BufferView, Buffer> |
Definition at line 27 of file buffer_map_types.hpp.
|
strong |
universal database interface error
| Enumerator | |
|---|---|
| OK | |
| NOT_FOUND | |
| CORRUPTION | |
| NOT_SUPPORTED | |
| INVALID_ARGUMENT | |
| IO_ERROR | |
| DB_PATH_NOT_CREATED | |
| UNKNOWN | |
Definition at line 16 of file database_error.hpp.
|
inline |
Definition at line 43 of file predefined_keys.hpp.
|
inline |
Definition at line 53 of file rocksdb_util.hpp.
|
inline |
Definition at line 40 of file rocksdb_util.hpp.
|
inline |
Definition at line 47 of file rocksdb_util.hpp.
|
inline |
Definition at line 14 of file rocksdb_util.hpp.
|
inline |
Definition at line 23 of file predefined_keys.hpp.
|
inline |
Definition at line 33 of file predefined_keys.hpp.
|
inline |
Definition at line 36 of file predefined_keys.hpp.
|
inline |
Definition at line 39 of file predefined_keys.hpp.
|
inline |
Definition at line 20 of file predefined_keys.hpp.
|
inline |
Definition at line 30 of file predefined_keys.hpp.
|
inline |
Definition at line 18 of file predefined_keys.hpp.
|
inline |
Definition at line 28 of file predefined_keys.hpp.
|
inline |
Definition at line 16 of file predefined_keys.hpp.
|
inline |
Definition at line 25 of file predefined_keys.hpp.