#include <SealEngine.h>
|
virtual | ~SealEngineFace () |
|
virtual std::string | name () const =0 |
|
virtual unsigned | revision () const |
|
virtual unsigned | sealFields () const |
|
virtual bytes | sealRLP () const |
|
virtual StringHashMap | jsInfo (BlockHeader const &) const |
|
virtual void | verify (Strictness _s, BlockHeader const &_bi, BlockHeader const &_parent=BlockHeader(), bytesConstRef _block=bytesConstRef()) const |
| Don't forget to call Super::verify when subclassing & overriding. More...
|
|
virtual void | verifyTransaction (ImportRequirements::value _ir, TransactionBase const &_t, BlockHeader const &_bi) const |
| Additional verification for transactions in blocks. More...
|
|
virtual void | populateFromParent (BlockHeader &_bi, BlockHeader const &_parent) const |
| Don't forget to call Super::populateFromParent when subclassing & overriding. More...
|
|
bytes | option (std::string const &_name) const |
|
bool | setOption (std::string const &_name, bytes const &_value) |
|
virtual strings | sealers () const |
|
virtual std::string | sealer () const |
|
virtual void | setSealer (std::string const &) |
|
virtual bool | shouldSeal (Interface *) |
|
virtual void | generateSeal (BlockHeader const &_bi)=0 |
|
virtual void | onSealGenerated (std::function< void(bytes const &s)> const &_f)=0 |
|
virtual void | cancelGeneration () |
|
ChainOperationParams const & | chainParams () const |
|
void | setChainParams (ChainOperationParams const &_params) |
|
SealEngineFace * | withChainParams (ChainOperationParams const &_params) |
|
virtual EVMSchedule const & | evmSchedule (EnvInfo const &) const =0 |
|
virtual bool | isPrecompiled (Address const &_a, u256 const &_blockNumber) const |
|
virtual bigint | costOfPrecompiled (Address const &_a, bytesConstRef _in, u256 const &) const |
|
virtual std::pair< bool, bytes > | executePrecompiled (Address const &_a, bytesConstRef _in, u256 const &) const |
|
void | setFascSchedule (EVMSchedule _fascSchedule) const |
|
EVMSchedule & | getFascSchedule () const |
|
Definition at line 45 of file SealEngine.h.
virtual dev::eth::SealEngineFace::~SealEngineFace |
( |
| ) |
|
|
inlinevirtual |
virtual void dev::eth::SealEngineFace::cancelGeneration |
( |
| ) |
|
|
inlinevirtual |
virtual EVMSchedule const& dev::eth::SealEngineFace::evmSchedule |
( |
EnvInfo const & |
| ) |
const |
|
pure virtual |
virtual void dev::eth::SealEngineFace::generateSeal |
( |
BlockHeader const & |
_bi | ) |
|
|
pure virtual |
EVMSchedule& dev::eth::SealEngineFace::getFascSchedule |
( |
| ) |
const |
|
inline |
virtual bool dev::eth::SealEngineFace::isPrecompiled |
( |
Address const & |
_a, |
|
|
u256 const & |
_blockNumber |
|
) |
| const |
|
inlinevirtual |
virtual std::string dev::eth::SealEngineFace::name |
( |
| ) |
const |
|
pure virtual |
virtual bool dev::eth::SealEngineFace::onOptionChanging |
( |
std::string const & |
, |
|
|
bytes const & |
|
|
) |
| |
|
inlineprotectedvirtual |
virtual void dev::eth::SealEngineFace::onSealGenerated |
( |
std::function< void(bytes const &s)> const & |
_f | ) |
|
|
pure virtual |
bytes dev::eth::SealEngineFace::option |
( |
std::string const & |
_name | ) |
const |
|
inline |
virtual unsigned dev::eth::SealEngineFace::revision |
( |
| ) |
const |
|
inlinevirtual |
virtual std::string dev::eth::SealEngineFace::sealer |
( |
| ) |
const |
|
inlinevirtual |
virtual strings dev::eth::SealEngineFace::sealers |
( |
| ) |
const |
|
inlinevirtual |
virtual unsigned dev::eth::SealEngineFace::sealFields |
( |
| ) |
const |
|
inlinevirtual |
virtual bytes dev::eth::SealEngineFace::sealRLP |
( |
| ) |
const |
|
inlinevirtual |
void dev::eth::SealEngineFace::setFascSchedule |
( |
EVMSchedule |
_fascSchedule | ) |
const |
|
inline |
bool dev::eth::SealEngineFace::setOption |
( |
std::string const & |
_name, |
|
|
bytes const & |
_value |
|
) |
| |
|
inline |
virtual void dev::eth::SealEngineFace::setSealer |
( |
std::string const & |
| ) |
|
|
inlinevirtual |
virtual bool dev::eth::SealEngineFace::shouldSeal |
( |
Interface * |
| ) |
|
|
inlinevirtual |
std::set<Address> dev::eth::SealEngineFace::deleteAddresses |
|
mutable |
std::unordered_map<std::string, bytes> dev::eth::SealEngineFace::m_options |
|
private |
Mutex dev::eth::SealEngineFace::x_options |
|
mutableprivate |
The documentation for this class was generated from the following files: