diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-17 21:04:57 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-17 21:04:57 +0800 |
commit | 7b30c14deddbcb63e618eb8bb5e1c024dc4fa758 (patch) | |
tree | 939ea79ac84e3191ac3e5a872d06c9ea537c83c5 /webthreestubclient.h | |
parent | 109f57c75f585e5d1e5dc410bba171d88569a274 (diff) | |
download | dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.gz dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.bz2 dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.lz dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.xz dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.tar.zst dexon-solidity-7b30c14deddbcb63e618eb8bb5e1c024dc4fa758.zip |
ethereum.js not minified, serpent compiler, jsonrpc handles compilers exceptions
Diffstat (limited to 'webthreestubclient.h')
-rw-r--r-- | webthreestubclient.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h index 2636d172..162c84b4 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -328,6 +328,19 @@ p.append(param3); } + std::string eth_serpent(const std::string& param1) throw (jsonrpc::JsonRpcException) + { + Json::Value p; + p.append(param1); + + Json::Value result = this->client->CallMethod("eth_serpent",p); + if (result.isString()) + return result.asString(); + else + throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); + + } + bool eth_setCoinbase(const std::string& param1) throw (jsonrpc::JsonRpcException) { Json::Value p; |