![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <BasicAuthority.h>
Public Member Functions | |
| unsigned | revision () const override |
| unsigned | sealFields () const override |
| bytes | sealRLP () const override |
| void | populateFromParent (BlockHeader &, BlockHeader const &) const override |
| Don't forget to call Super::populateFromParent when subclassing & overriding. More... | |
| StringHashMap | jsInfo (BlockHeader const &_bi) const override |
| void | verify (Strictness _s, BlockHeader const &_bi, BlockHeader const &_parent, bytesConstRef _block) const override |
| Don't forget to call Super::verify when subclassing & overriding. More... | |
| bool | shouldSeal (Interface *) override |
| void | generateSeal (BlockHeader const &_bi) override |
| void | setSecret (Secret const &_s) |
Public Member Functions inherited from dev::eth::SealEngineBase | |
| void | onSealGenerated (std::function< void(bytes const &)> const &_f) override |
| EVMSchedule const & | evmSchedule (u256 const &_blockNumber) const override |
| u256 | blockReward (u256 const &_blockNumber) const override |
Public Member Functions inherited from dev::eth::SealEngineFace | |
| virtual | ~SealEngineFace () |
| virtual std::tuple< h256, h256, h256 > | getWork (BlockHeader const &) |
| virtual bool | isMining () const |
| virtual void | verifyTransaction (ImportRequirements::value _ir, TransactionBase const &_t, BlockHeader const &_header, u256 const &_startGasUsed) const |
| Additional verification for transactions in blocks. 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 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 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 |
Static Public Member Functions | |
| static std::string | name () |
| static Signature | sig (BlockHeader const &_bi) |
| static BlockHeader & | setSig (BlockHeader &_bi, Signature const &_sig) |
| static void | init () |
Additional Inherited Members | |
Public Types inherited from dev::eth::SealEngineBase | |
| enum | { MixHashField = 0, NonceField = 1 } |
Protected Attributes inherited from dev::eth::SealEngineBase | |
| std::function< void(bytes const &s)> | m_onSealGenerated |
Definition at line 34 of file BasicAuthority.h.
|
overridevirtual |
Implements dev::eth::SealEngineFace.
Definition at line 48 of file BasicAuthority.cpp.
|
static |
Definition at line 33 of file BasicAuthority.cpp.
|
overridevirtual |
Reimplemented from dev::eth::SealEngineFace.
Definition at line 38 of file BasicAuthority.cpp.
|
inlinestatic |
Definition at line 37 of file BasicAuthority.h.
|
overridevirtual |
Don't forget to call Super::populateFromParent when subclassing & overriding.
Reimplemented from dev::eth::SealEngineFace.
Definition at line 72 of file BasicAuthority.cpp.
|
inlineoverridevirtual |
Reimplemented from dev::eth::SealEngineFace.
Definition at line 38 of file BasicAuthority.h.
|
inlineoverridevirtual |
Reimplemented from dev::eth::SealEngineFace.
Definition at line 39 of file BasicAuthority.h.
|
inlineoverridevirtual |
Reimplemented from dev::eth::SealEngineFace.
Definition at line 40 of file BasicAuthority.h.
|
inline |
Definition at line 50 of file BasicAuthority.h.
|
inlinestatic |
Definition at line 49 of file BasicAuthority.h.
|
overridevirtual |
Reimplemented from dev::eth::SealEngineFace.
Definition at line 43 of file BasicAuthority.cpp.
|
inlinestatic |
Definition at line 48 of file BasicAuthority.h.
|
overridevirtual |
Don't forget to call Super::verify when subclassing & overriding.
Reimplemented from dev::eth::SealEngineFace.
Definition at line 79 of file BasicAuthority.cpp.