6 #ifndef KAGOME_OFFCHAIN_EXTENSION_HPP 7 #define KAGOME_OFFCHAIN_EXTENSION_HPP 17 class OffchainWorkerPool;
27 bool is_indexing_enabled =
false;
34 std::shared_ptr<const runtime::MemoryProvider> memory_provider,
35 std::shared_ptr<offchain::OffchainStorage> offchain_storage,
36 std::shared_ptr<offchain::OffchainWorkerPool> ocw_pool);
348 void ext_offchain_set_authorized_nodes_version_1(
377 std::shared_ptr<offchain::OffchainWorker> getWorker();
382 std::shared_ptr<offchain::OffchainWorkerPool>
ocw_pool_;
const OffchainExtensionConfig & config_
std::shared_ptr< soralog::Logger > Logger
uint64_t WasmSpan
combination of pointer and size, where less significant part represents wasm pointer, and most significant represents size
uint32_t WasmPointer
type of wasm memory is 32 bit integer
std::shared_ptr< const runtime::MemoryProvider > memory_provider_
std::shared_ptr< offchain::OffchainWorkerPool > ocw_pool_
std::shared_ptr< offchain::OffchainStorage > offchain_storage_