Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::CoreApiFactory Class Referenceabstract

#include <core_api_factory.hpp>

Inheritance diagram for kagome::runtime::CoreApiFactory:
Collaboration diagram for kagome::runtime::CoreApiFactory:

Public Member Functions

virtual ~CoreApiFactory ()=default
 
virtual std::unique_ptr< Coremake (std::shared_ptr< const crypto::Hasher > hasher, const std::vector< uint8_t > &runtime_code) const =0
 

Detailed Description

A factory for Core API, used where an isolated runtime environment is required

Definition at line 28 of file core_api_factory.hpp.

Constructor & Destructor Documentation

virtual kagome::runtime::CoreApiFactory::~CoreApiFactory ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<Core> kagome::runtime::CoreApiFactory::make ( std::shared_ptr< const crypto::Hasher hasher,
const std::vector< uint8_t > &  runtime_code 
) const
pure virtual

The documentation for this class was generated from the following file: