Faucet info
This commit is contained in:
@@ -189,7 +189,7 @@ std::string FaucetFund(uint64_t txfee,uint64_t funds)
|
|||||||
|
|
||||||
UniValue FaucetInfo()
|
UniValue FaucetInfo()
|
||||||
{
|
{
|
||||||
UniValue result(UniValue::VOBJ);
|
UniValue result(UniValue::VOBJ); char numstr[64];
|
||||||
CMutableTransaction mtx; CPubKey faucetpk; struct CCcontract_info *cp,C; uint64_t funding;
|
CMutableTransaction mtx; CPubKey faucetpk; struct CCcontract_info *cp,C; uint64_t funding;
|
||||||
result.push_back(Pair("result","success"));
|
result.push_back(Pair("result","success"));
|
||||||
result.push_back(Pair("name","Faucet"));
|
result.push_back(Pair("name","Faucet"));
|
||||||
|
|||||||
@@ -363,6 +363,7 @@ static const CRPCCommand vRPCCommands[] =
|
|||||||
{ "rewards", "rewardsaddress", &rewardsaddress, true },
|
{ "rewards", "rewardsaddress", &rewardsaddress, true },
|
||||||
|
|
||||||
/* faucet */
|
/* faucet */
|
||||||
|
{ "faucet", "faucetinfo", &faucetinfo, true },
|
||||||
{ "faucet", "faucetfund", &faucetfund, true },
|
{ "faucet", "faucetfund", &faucetfund, true },
|
||||||
{ "faucet", "faucetget", &faucetget, true },
|
{ "faucet", "faucetget", &faucetget, true },
|
||||||
{ "faucet", "faucetaddress", &faucetaddress, true },
|
{ "faucet", "faucetaddress", &faucetaddress, true },
|
||||||
|
|||||||
@@ -226,6 +226,7 @@ extern UniValue tokenfillswap(const UniValue& params, bool fHelp);
|
|||||||
extern UniValue faucetfund(const UniValue& params, bool fHelp);
|
extern UniValue faucetfund(const UniValue& params, bool fHelp);
|
||||||
extern UniValue faucetget(const UniValue& params, bool fHelp);
|
extern UniValue faucetget(const UniValue& params, bool fHelp);
|
||||||
extern UniValue faucetaddress(const UniValue& params, bool fHelp);
|
extern UniValue faucetaddress(const UniValue& params, bool fHelp);
|
||||||
|
extern UniValue faucetinfo(const UniValue& params, bool fHelp);
|
||||||
extern UniValue rewardsinfo(const UniValue& params, bool fHelp);
|
extern UniValue rewardsinfo(const UniValue& params, bool fHelp);
|
||||||
extern UniValue rewardslist(const UniValue& params, bool fHelp);
|
extern UniValue rewardslist(const UniValue& params, bool fHelp);
|
||||||
extern UniValue rewardsaddress(const UniValue& params, bool fHelp);
|
extern UniValue rewardsaddress(const UniValue& params, bool fHelp);
|
||||||
|
|||||||
Reference in New Issue
Block a user