Kagome
Polkadot Runtime Engine in C++17
|
#include <runtime_properties_cache.hpp>
Public Member Functions | |
virtual | ~RuntimePropertiesCache ()=default |
virtual outcome::result< primitives::Version > | getVersion (const common::Hash256 &hash, std::function< outcome::result< primitives::Version >()> obtainer)=0 |
virtual outcome::result< primitives::OpaqueMetadata > | getMetadata (const common::Hash256 &hash, std::function< outcome::result< primitives::OpaqueMetadata >()> obtainer)=0 |
Cache for runtime properties (as Version and Metadata) Allows loading and compiling a module directly from its web assembly byte code and instantiating a runtime module at an arbitrary block
Definition at line 25 of file runtime_properties_cache.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::runtime::RuntimePropertiesCacheImpl.
|
pure virtual |
Implemented in kagome::runtime::RuntimePropertiesCacheImpl.