Kagome
Polkadot Runtime Engine in C++17
|
#include <runtime_properties_cache_impl.hpp>
Public Member Functions | |
RuntimePropertiesCacheImpl ()=default | |
outcome::result< primitives::Version > | getVersion (const common::Hash256 &hash, std::function< outcome::result< primitives::Version >()> obtainer) override |
outcome::result< primitives::OpaqueMetadata > | getMetadata (const common::Hash256 &hash, std::function< outcome::result< primitives::OpaqueMetadata >()> obtainer) override |
Public Member Functions inherited from kagome::runtime::RuntimePropertiesCache | |
virtual | ~RuntimePropertiesCache ()=default |
Private Attributes | |
std::map< common::Hash256, primitives::Version > | cached_versions_ |
std::map< common::Hash256, primitives::OpaqueMetadata > | cached_metadata_ |
Definition at line 13 of file runtime_properties_cache_impl.hpp.
|
default |
|
overridevirtual |
Implements kagome::runtime::RuntimePropertiesCache.
Definition at line 22 of file runtime_properties_cache_impl.cpp.
|
overridevirtual |
Implements kagome::runtime::RuntimePropertiesCache.
Definition at line 10 of file runtime_properties_cache_impl.cpp.
|
private |
Definition at line 29 of file runtime_properties_cache_impl.hpp.
|
private |
Definition at line 28 of file runtime_properties_cache_impl.hpp.