Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <AdminEth.h>
Public Member Functions | |
AdminEth (eth::Client &_eth, eth::TrivialGasPricer &_gp, eth::KeyManager &_keyManager, SessionManager &_sm) | |
virtual RPCModules | implementedModules () const override |
virtual bool | admin_eth_setMining (bool _on, std::string const &_session) override |
virtual Json::Value | admin_eth_blockQueueStatus (std::string const &_session) override |
virtual bool | admin_eth_setAskPrice (std::string const &_wei, std::string const &_session) override |
virtual bool | admin_eth_setBidPrice (std::string const &_wei, std::string const &_session) override |
virtual Json::Value | admin_eth_findBlock (std::string const &_blockHash, std::string const &_session) override |
virtual std::string | admin_eth_blockQueueFirstUnknown (std::string const &_session) override |
virtual bool | admin_eth_blockQueueRetryUnknown (std::string const &_session) override |
virtual Json::Value | admin_eth_allAccounts (std::string const &_session) override |
virtual Json::Value | admin_eth_newAccount (const Json::Value &_info, std::string const &_session) override |
virtual bool | admin_eth_setMiningBenefactor (std::string const &_uuidOrAddress, std::string const &_session) override |
virtual Json::Value | admin_eth_inspect (std::string const &_address, std::string const &_session) override |
virtual Json::Value | admin_eth_reprocess (std::string const &_blockNumberOrHash, std::string const &_session) override |
virtual Json::Value | admin_eth_vmTrace (std::string const &_blockNumberOrHash, int _txIndex, std::string const &_session) override |
virtual Json::Value | admin_eth_getReceiptByHashAndIndex (std::string const &_blockNumberOrHash, int _txIndex, std::string const &_session) override |
virtual bool | miner_start (int _threads) override |
virtual bool | miner_stop () override |
virtual bool | miner_setEtherbase (std::string const &_uuidOrAddress) override |
virtual bool | miner_setExtra (std::string const &_extraData) override |
virtual bool | miner_setGasPrice (std::string const &_gasPrice) override |
virtual std::string | miner_hashrate () override |
virtual void | setMiningBenefactorChanger (std::function< void(Address const &)> const &_f) |
Public Member Functions inherited from dev::rpc::AdminEthFace | |
AdminEthFace () | |
virtual void | admin_eth_blockQueueStatusI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_setAskPriceI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_setBidPriceI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_setMiningI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_findBlockI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_blockQueueFirstUnknownI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_blockQueueRetryUnknownI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_allAccountsI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_newAccountI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_setMiningBenefactorI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_inspectI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_reprocessI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_vmTraceI (const Json::Value &request, Json::Value &response) |
virtual void | admin_eth_getReceiptByHashAndIndexI (const Json::Value &request, Json::Value &response) |
virtual void | miner_startI (const Json::Value &request, Json::Value &response) |
virtual void | miner_stopI (const Json::Value &request, Json::Value &response) |
virtual void | miner_setEtherbaseI (const Json::Value &request, Json::Value &response) |
virtual void | miner_setExtraI (const Json::Value &request, Json::Value &response) |
virtual void | miner_setGasPriceI (const Json::Value &request, Json::Value &response) |
virtual void | miner_hashrateI (const Json::Value &request, Json::Value &response) |
Public Member Functions inherited from ServerInterface< AdminEthFace > | |
virtual | ~ServerInterface () |
Methods const & | methods () const |
Notifications const & | notifications () const |
Private Member Functions | |
h256 | blockHash (std::string const &_blockNumberOrHash) const |
Private Attributes | |
eth::Client & | m_eth |
eth::TrivialGasPricer & | m_gp |
eth::KeyManager & | m_keyManager |
SessionManager & | m_sm |
std::function< void(Address const &)> | m_setMiningBenefactor |
Additional Inherited Members | |
Public Types inherited from ServerInterface< AdminEthFace > | |
using | MethodPointer = AbstractMethodPointer< AdminEthFace > |
using | NotificationPointer = AbstractNotificationPointer< AdminEthFace > |
using | MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< AdminEthFace >> |
using | NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< AdminEthFace >> |
using | Methods = std::vector< MethodBinding > |
using | Notifications = std::vector< NotificationBinding > |
using | RPCModules = std::vector< RPCModule > |
Protected Member Functions inherited from ServerInterface< AdminEthFace > | |
void | bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer) |
void | bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer) |
Definition at line 19 of file AdminEth.h.
AdminEth::AdminEth | ( | eth::Client & | _eth, |
eth::TrivialGasPricer & | _gp, | ||
eth::KeyManager & | _keyManager, | ||
SessionManager & | _sm | ||
) |
Definition at line 16 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 96 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 83 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 89 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 33 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 62 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 228 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 154 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 126 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 183 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 48 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 55 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 23 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 148 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 195 of file AdminEth.cpp.
|
private |
Definition at line 169 of file AdminEth.cpp.
|
inlineoverridevirtual |
Implements ServerInterface< AdminEthFace >.
Definition at line 24 of file AdminEth.h.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 284 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 254 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 272 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 278 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 242 of file AdminEth.cpp.
|
overridevirtual |
Implements dev::rpc::AdminEthFace.
Definition at line 248 of file AdminEth.cpp.
|
inlinevirtual |
Definition at line 50 of file AdminEth.h.
|
private |
Definition at line 52 of file AdminEth.h.
|
private |
Definition at line 53 of file AdminEth.h.
|
private |
Definition at line 54 of file AdminEth.h.
|
private |
Definition at line 56 of file AdminEth.h.
|
private |
Definition at line 55 of file AdminEth.h.