Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <Test.h>
Public Member Functions | |
Test (eth::Client &_eth) | |
virtual RPCModules | implementedModules () const override |
virtual bool | test_setChainParams (const Json::Value ¶m1) override |
virtual bool | test_mineBlocks (int _number) override |
virtual bool | test_modifyTimestamp (int _timestamp) override |
virtual bool | test_addBlock (std::string const &_rlp) override |
virtual bool | test_rewindToBlock (int _number) override |
Public Member Functions inherited from dev::rpc::TestFace | |
TestFace () | |
virtual void | test_setChainParamsI (const Json::Value &request, Json::Value &response) |
virtual void | test_mineBlocksI (const Json::Value &request, Json::Value &response) |
virtual void | test_modifyTimestampI (const Json::Value &request, Json::Value &response) |
virtual void | test_addBlockI (const Json::Value &request, Json::Value &response) |
virtual void | test_rewindToBlockI (const Json::Value &request, Json::Value &response) |
Public Member Functions inherited from ServerInterface< TestFace > | |
virtual | ~ServerInterface () |
Methods const & | methods () const |
Notifications const & | notifications () const |
Private Attributes | |
eth::Client & | m_eth |
Additional Inherited Members | |
Public Types inherited from ServerInterface< TestFace > | |
using | MethodPointer = AbstractMethodPointer< TestFace > |
using | NotificationPointer = AbstractNotificationPointer< TestFace > |
using | MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< TestFace >> |
using | NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< TestFace >> |
using | Methods = std::vector< MethodBinding > |
using | Notifications = std::vector< NotificationBinding > |
using | RPCModules = std::vector< RPCModule > |
Protected Member Functions inherited from ServerInterface< TestFace > | |
void | bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer) |
void | bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer) |
Test::Test | ( | eth::Client & | _eth | ) |
|
inlineoverridevirtual |
Implements ServerInterface< TestFace >.
|
overridevirtual |
Implements dev::rpc::TestFace.
Definition at line 79 of file Test.cpp.
|
overridevirtual |
Implements dev::rpc::TestFace.
Definition at line 52 of file Test.cpp.
|
overridevirtual |
Implements dev::rpc::TestFace.
Definition at line 66 of file Test.cpp.
|
overridevirtual |
Implements dev::rpc::TestFace.
Definition at line 92 of file Test.cpp.
|
overridevirtual |
Implements dev::rpc::TestFace.
Definition at line 36 of file Test.cpp.
|
private |