added eth_lll

This commit is contained in:
Marek Kotewicz 2014-11-06 15:51:08 +01:00
parent 7271412370
commit 543699df95

View File

@ -254,6 +254,19 @@ p.append(param3);
}
std::string eth_lll(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;
p.append(param1);
Json::Value result = this->client->CallMethod("eth_lll",p);
if (result.isString())
return result.asString();
else
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
}
bool eth_mining() throw (jsonrpc::JsonRpcException)
{
Json::Value p;