5 #ifndef JSONRPC_CPP_STUB_DEV_RPC_PERSONALFACE_H_ 6 #define JSONRPC_CPP_STUB_DEV_RPC_PERSONALFACE_H_ 18 this->
bindAndAddMethod(jsonrpc::Procedure(
"personal_unlockAccount", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN,
"param1",jsonrpc::JSON_STRING,
"param2",jsonrpc::JSON_STRING,
"param3",jsonrpc::JSON_INTEGER, NULL), &
dev::rpc::PersonalFace::personal_unlockAccountI);
54 #endif //JSONRPC_CPP_STUB_DEV_RPC_PERSONALFACE_H_ virtual std::string personal_newAccount(const std::string ¶m1)=0
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
virtual void personal_newAccountI(const Json::Value &request, Json::Value &response)
virtual void personal_unlockAccountI(const Json::Value &request, Json::Value &response)
void bindAndAddMethod(jsonrpc::Procedure const &_proc, MethodPointer _pointer)
virtual void personal_sendTransactionI(const Json::Value &request, Json::Value &response)
virtual bool personal_unlockAccount(const std::string ¶m1, const std::string ¶m2, int param3)=0
virtual std::string personal_sendTransaction(const Json::Value ¶m1, const std::string ¶m2)=0
virtual void personal_signAndSendTransactionI(const Json::Value &request, Json::Value &response)
virtual std::string personal_signAndSendTransaction(const Json::Value ¶m1, const std::string ¶m2)=0
virtual void personal_listAccountsI(const Json::Value &request, Json::Value &response)
std::string asString(bytes const &_b)
Converts byte array to a string containing the same (binary) data.
virtual Json::Value personal_listAccounts()=0