Kagome
Polkadot Runtime Engine in C++17
|
#include <core_api_factory.hpp>
Public Member Functions | |
virtual | ~CoreApiFactory ()=default |
virtual std::unique_ptr< Core > | make (std::shared_ptr< const crypto::Hasher > hasher, const std::vector< uint8_t > &runtime_code) const =0 |
A factory for Core API, used where an isolated runtime environment is required
Definition at line 28 of file core_api_factory.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::runtime::wavm::CoreApiFactoryImpl, and kagome::runtime::binaryen::CoreApiFactoryImpl.