Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dev::rpc::Debug Class Reference

#include <Debug.h>

Inheritance diagram for dev::rpc::Debug:
[legend]
Collaboration diagram for dev::rpc::Debug:
[legend]

Public Member Functions

 Debug (eth::Client const &_eth)
 
virtual RPCModules implementedModules () const override
 
virtual Json::Value debug_traceTransaction (std::string const &_txHash, Json::Value const &_json) override
 
virtual Json::Value debug_traceCall (Json::Value const &_call, std::string const &_blockNumber, Json::Value const &_options) override
 
virtual Json::Value debug_traceBlockByNumber (int _blockNumber, Json::Value const &_json) override
 
virtual Json::Value debug_traceBlockByHash (std::string const &_blockHash, Json::Value const &_json) override
 
virtual Json::Value debug_storageRangeAt (std::string const &_blockHashOrNumber, int _txIndex, std::string const &_address, std::string const &_begin, int _maxResults) override
 
virtual std::string debug_preimage (std::string const &_hashedKey) override
 
virtual Json::Value debug_traceBlock (std::string const &_blockRlp, Json::Value const &_json)
 
- Public Member Functions inherited from dev::rpc::DebugFace
 DebugFace ()
 
virtual void debug_traceTransactionI (const Json::Value &request, Json::Value &response)
 
virtual void debug_storageRangeAtI (const Json::Value &request, Json::Value &response)
 
virtual void debug_preimageI (const Json::Value &request, Json::Value &response)
 
virtual void debug_traceBlockByNumberI (const Json::Value &request, Json::Value &response)
 
virtual void debug_traceBlockByHashI (const Json::Value &request, Json::Value &response)
 
virtual void debug_traceCallI (const Json::Value &request, Json::Value &response)
 
- Public Member Functions inherited from ServerInterface< DebugFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 

Private Member Functions

h256 blockHash (std::string const &_blockHashOrNumber) const
 
Json::Value traceTransaction (dev::eth::Executive &_e, dev::eth::Transaction const &_t, Json::Value const &_json)
 
Json::Value traceBlock (dev::eth::Block const &_block, Json::Value const &_json)
 

Private Attributes

eth::Client const & m_eth
 

Additional Inherited Members

- Public Types inherited from ServerInterface< DebugFace >
using MethodPointer = AbstractMethodPointer< DebugFace >
 
using NotificationPointer = AbstractNotificationPointer< DebugFace >
 
using MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< DebugFace >>
 
using NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< DebugFace >>
 
using Methods = std::vector< MethodBinding >
 
using Notifications = std::vector< NotificationBinding >
 
using RPCModules = std::vector< RPCModule >
 
- Protected Member Functions inherited from ServerInterface< DebugFace >
void bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer)
 
void bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer)
 

Detailed Description

Definition at line 18 of file Debug.h.

Constructor & Destructor Documentation

Debug::Debug ( eth::Client const &  _eth)
explicit

Definition at line 14 of file Debug.cpp.

Member Function Documentation

h256 Debug::blockHash ( std::string const &  _blockHashOrNumber) const
private

Definition at line 34 of file Debug.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Debug::debug_preimage ( std::string const &  _hashedKey)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 171 of file Debug.cpp.

Here is the call graph for this function:

Json::Value Debug::debug_storageRangeAt ( std::string const &  _blockHashOrNumber,
int  _txIndex,
std::string const &  _address,
std::string const &  _begin,
int  _maxResults 
)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 123 of file Debug.cpp.

Here is the call graph for this function:

Json::Value Debug::debug_traceBlock ( std::string const &  _blockRlp,
Json::Value const &  _json 
)
virtual

Definition at line 100 of file Debug.cpp.

Here is the call graph for this function:

Json::Value Debug::debug_traceBlockByHash ( std::string const &  _blockHash,
Json::Value const &  _json 
)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 107 of file Debug.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Json::Value Debug::debug_traceBlockByNumber ( int  _blockNumber,
Json::Value const &  _json 
)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 115 of file Debug.cpp.

Here is the call graph for this function:

Json::Value Debug::debug_traceCall ( Json::Value const &  _call,
std::string const &  _blockNumber,
Json::Value const &  _options 
)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 179 of file Debug.cpp.

Here is the call graph for this function:

Json::Value Debug::debug_traceTransaction ( std::string const &  _txHash,
Json::Value const &  _json 
)
overridevirtual

Implements dev::rpc::DebugFace.

Definition at line 77 of file Debug.cpp.

Here is the call graph for this function:

virtual RPCModules dev::rpc::Debug::implementedModules ( ) const
inlineoverridevirtual
Returns
which interfaces (eth, admin, db, ...) this class implements in which version.

Implements ServerInterface< DebugFace >.

Definition at line 23 of file Debug.h.

Json::Value Debug::traceBlock ( dev::eth::Block const &  _block,
Json::Value const &  _json 
)
private

Definition at line 62 of file Debug.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Json::Value Debug::traceTransaction ( dev::eth::Executive _e,
dev::eth::Transaction const &  _t,
Json::Value const &  _json 
)
private

Definition at line 48 of file Debug.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

eth::Client const& dev::rpc::Debug::m_eth
private

Definition at line 39 of file Debug.h.


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