rpc rekt cashout

logging, formatting
This commit is contained in:
dimxy
2019-04-23 15:40:10 +05:00
parent 3cc12f4a02
commit f0c14e77d5
3 changed files with 195 additions and 232 deletions
+3 -1
View File
@@ -465,7 +465,9 @@ static const CRPCCommand vRPCCommands[] =
{ "prices", "priceslist", &priceslist, true },
{ "prices", "pricesinfo", &pricesinfo, true },
{ "prices", "pricesbet", &pricesbet, true },
{ "prices", "pricesbetsetcostbasis", &pricessetcostbasis, true },
{ "prices", "pricessetcostbasis", &pricessetcostbasis, true },
{ "prices", "pricescashout", &pricescashout, true },
{ "prices", "pricesrekt", &pricesrekt, true },
// Pegs
{ "pegs", "pegsaddress", &pegsaddress, true },
+3
View File
@@ -499,6 +499,9 @@ extern UniValue paxwithdraw(const UniValue& params, bool fHelp);
extern UniValue prices(const UniValue& params, bool fHelp);
extern UniValue pricesbet(const UniValue& params, bool fHelp);
extern UniValue pricessetcostbasis(const UniValue& params, bool fHelp);
extern UniValue pricescashout(const UniValue& params, bool fHelp);
extern UniValue pricesrekt(const UniValue& params, bool fHelp);
// test rpc:
extern UniValue test_ac(const UniValue& params, bool fHelp);