Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::eth::SealEngineRegistrar Class Reference

#include <SealEngine.h>

Static Public Member Functions

static SealEngineFacecreate (ChainOperationParams const &_params)
 
static SealEngineFacecreate (std::string const &_name)
 
template<class SealEngine >
static SealEngineFactory registerSealEngine (std::string const &_name)
 
static void unregisterSealEngine (std::string const &_name)
 

Detailed Description

Definition at line 121 of file SealEngine.h.

Member Function Documentation

◆ create() [1/2]

SealEngineFace * dev::eth::SealEngineRegistrar::create ( ChainOperationParams const &  _params)
static

Creates the seal engine and uses it to "polish" the params (i.e. fill in implicit values) as necessary. Use this rather than the other two unless you know that the params contain all information regarding the seal on the Genesis block.

Definition at line 163 of file SealEngine.cpp.

◆ create() [2/2]

static SealEngineFace* dev::eth::SealEngineRegistrar::create ( std::string const &  _name)
inlinestatic

Definition at line 127 of file SealEngine.h.

◆ registerSealEngine()

template<class SealEngine >
static SealEngineFactory dev::eth::SealEngineRegistrar::registerSealEngine ( std::string const &  _name)
inlinestatic

Definition at line 129 of file SealEngine.h.

◆ unregisterSealEngine()

static void dev::eth::SealEngineRegistrar::unregisterSealEngine ( std::string const &  _name)
inlinestatic

Definition at line 130 of file SealEngine.h.


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