5 #ifndef JSONRPC_CPP_STUB_DEV_RPC_ADMINETHFACE_H_ 6 #define JSONRPC_CPP_STUB_DEV_RPC_ADMINETHFACE_H_ 29 this->
bindAndAddMethod(jsonrpc::Procedure(
"admin_eth_vmTrace", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT,
"param1",jsonrpc::JSON_STRING,
"param2",jsonrpc::JSON_INTEGER,
"param3",jsonrpc::JSON_STRING, NULL), &
dev::rpc::AdminEthFace::admin_eth_vmTraceI);
30 this->
bindAndAddMethod(jsonrpc::Procedure(
"admin_eth_getReceiptByHashAndIndex", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_OBJECT,
"param1",jsonrpc::JSON_STRING,
"param2",jsonrpc::JSON_INTEGER,
"param3",jsonrpc::JSON_STRING, NULL), &
dev::rpc::AdminEthFace::admin_eth_getReceiptByHashAndIndexI);
145 #endif //JSONRPC_CPP_STUB_DEV_RPC_ADMINETHFACE_H_ virtual void admin_eth_setMiningI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_eth_blockQueueStatus(const std::string ¶m1)=0
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
virtual void admin_eth_getReceiptByHashAndIndexI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_eth_reprocess(const std::string ¶m1, const std::string ¶m2)=0
virtual std::string admin_eth_blockQueueFirstUnknown(const std::string ¶m1)=0
virtual void admin_eth_setBidPriceI(const Json::Value &request, Json::Value &response)
virtual bool admin_eth_setMining(bool param1, const std::string ¶m2)=0
virtual bool miner_setGasPrice(const std::string ¶m1)=0
virtual void admin_eth_blockQueueRetryUnknownI(const Json::Value &request, Json::Value &response)
virtual bool admin_eth_setMiningBenefactor(const std::string ¶m1, const std::string ¶m2)=0
virtual void admin_eth_allAccountsI(const Json::Value &request, Json::Value &response)
virtual void miner_startI(const Json::Value &request, Json::Value &response)
void bindAndAddMethod(jsonrpc::Procedure const &_proc, MethodPointer _pointer)
virtual Json::Value admin_eth_getReceiptByHashAndIndex(const std::string ¶m1, int param2, const std::string ¶m3)=0
virtual void admin_eth_setMiningBenefactorI(const Json::Value &request, Json::Value &response)
virtual void miner_setExtraI(const Json::Value &request, Json::Value &response)
virtual void miner_stopI(const Json::Value &request, Json::Value &response)
virtual bool miner_stop()=0
virtual Json::Value admin_eth_vmTrace(const std::string ¶m1, int param2, const std::string ¶m3)=0
virtual void admin_eth_inspectI(const Json::Value &request, Json::Value &response)
virtual void admin_eth_blockQueueFirstUnknownI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_eth_findBlock(const std::string ¶m1, const std::string ¶m2)=0
virtual void admin_eth_blockQueueStatusI(const Json::Value &request, Json::Value &response)
virtual void miner_hashrateI(const Json::Value &request, Json::Value &response)
virtual void admin_eth_vmTraceI(const Json::Value &request, Json::Value &response)
virtual bool miner_setEtherbase(const std::string ¶m1)=0
virtual Json::Value admin_eth_allAccounts(const std::string ¶m1)=0
virtual std::string miner_hashrate()=0
virtual void miner_setGasPriceI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_eth_inspect(const std::string ¶m1, const std::string ¶m2)=0
virtual void miner_setEtherbaseI(const Json::Value &request, Json::Value &response)
virtual bool miner_start(int param1)=0
virtual Json::Value admin_eth_newAccount(const Json::Value ¶m1, const std::string ¶m2)=0
virtual bool admin_eth_setAskPrice(const std::string ¶m1, const std::string ¶m2)=0
virtual bool admin_eth_blockQueueRetryUnknown(const std::string ¶m1)=0
virtual void admin_eth_reprocessI(const Json::Value &request, Json::Value &response)
virtual void admin_eth_newAccountI(const Json::Value &request, Json::Value &response)
virtual bool miner_setExtra(const std::string ¶m1)=0
virtual bool admin_eth_setBidPrice(const std::string ¶m1, const std::string ¶m2)=0
virtual void admin_eth_findBlockI(const Json::Value &request, Json::Value &response)
virtual void admin_eth_setAskPriceI(const Json::Value &request, Json::Value &response)
std::string asString(bytes const &_b)
Converts byte array to a string containing the same (binary) data.