Add RPC command wallet_accounts.

This commit is contained in:
Arthur Britto
2012-06-01 04:52:45 -07:00
parent d0ce834b6e
commit 4caf5f2115
2 changed files with 88 additions and 34 deletions

View File

@@ -39,6 +39,7 @@ private:
int getParamCount(const Json::Value& params);
bool extractString(std::string& param, const Json::Value& params, int index);
Json::Value getGenerator(const uint256& uLedger, const NewcoinAddress& naSeed, NewcoinAddress& naMasterGenerator);
Json::Value authorize(const uint256& uLedger, const NewcoinAddress& naSeed, const NewcoinAddress& naSrcAccountID,
NewcoinAddress& naAccountPublic, NewcoinAddress& naAccountPrivate,
AccountState::pointer& asSrc);