Add validation_create command to RPCServer.

This commit is contained in:
Arthur Britto
2012-04-07 16:15:14 -07:00
parent b8f1df2a18
commit 77ffbe7759
2 changed files with 59 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ class RPCServer : public boost::enable_shared_from_this<RPCServer>
Json::Value doUnlList(Json::Value& params);
Json::Value doUnlReset(Json::Value& params);
Json::Value doValidatorCreate(Json::Value& params);
// Parses a string account name into a local or remote NewcoinAddress.
NewcoinAddress parseAccount(const std::string& account);
void validatorsResponse(const boost::system::error_code& err, std::string strResponse);