Add rewards rpc

This commit is contained in:
jl777
2018-07-23 18:52:27 -11:00
parent e3ec4c50aa
commit e37d99ce95
3 changed files with 106 additions and 2 deletions

View File

@@ -223,7 +223,11 @@ extern UniValue tokenswapask(const UniValue& params, bool fHelp);
extern UniValue tokenfillswap(const UniValue& params, bool fHelp);
extern UniValue faucetfund(const UniValue& params, bool fHelp);
extern UniValue faucetget(const UniValue& params, bool fHelp);
UniValue faucetaddress(const UniValue& params, bool fHelp);
extern UniValue faucetaddress(const UniValue& params, bool fHelp);
extern UniValue rewardsaddress(const UniValue& params, bool fHelp)
extern UniValue rewardsfund(const UniValue& params, bool fHelp)
extern UniValue rewardslock(const UniValue& params, bool fHelp)
extern UniValue rewardsunlock(const UniValue& params, bool fHelp)
extern UniValue getnewaddress(const UniValue& params, bool fHelp); // in rpcwallet.cpp
//extern UniValue getnewaddress64(const UniValue& params, bool fHelp); // in rpcwallet.cpp