Remove unused code
This commit is contained in:
@@ -473,9 +473,6 @@ static const CRPCCommand vRPCCommands[] =
|
||||
{ "oracles", "oraclessample", &oraclessample, true },
|
||||
{ "oracles", "oraclessamples", &oraclessamples, true },
|
||||
|
||||
// Pegs
|
||||
{ "pegs", "pegsaddress", &pegsaddress, true },
|
||||
|
||||
// Payments
|
||||
{ "payments", "paymentsaddress", &paymentsaddress, true },
|
||||
{ "payments", "paymentstxidopret", &payments_txidopret, true },
|
||||
@@ -539,18 +536,6 @@ static const CRPCCommand vRPCCommands[] =
|
||||
//{ "tokens", "tokenfillswap", &tokenfillswap, true },
|
||||
{ "tokens", "tokenconvert", &tokenconvert, true },
|
||||
|
||||
// pegs
|
||||
{ "pegs", "pegscreate", &pegscreate, true },
|
||||
{ "pegs", "pegsfund", &pegsfund, true },
|
||||
{ "pegs", "pegsget", &pegsget, true },
|
||||
{ "pegs", "pegsredeem", &pegsredeem, true },
|
||||
{ "pegs", "pegsliquidate", &pegsliquidate, true },
|
||||
{ "pegs", "pegsexchange", &pegsexchange, true },
|
||||
{ "pegs", "pegsaccounthistory", &pegsaccounthistory, true },
|
||||
{ "pegs", "pegsaccountinfo", &pegsaccountinfo, true },
|
||||
{ "pegs", "pegsworstaccounts", &pegsworstaccounts, true },
|
||||
{ "pegs", "pegsinfo", &pegsinfo, true },
|
||||
|
||||
/* Address index */
|
||||
{ "addressindex", "getaddressmempool", &getaddressmempool, true },
|
||||
{ "addressindex", "getaddressutxos", &getaddressutxos, false },
|
||||
|
||||
@@ -270,7 +270,6 @@ extern UniValue oraclessubscribe(const UniValue& params, bool fHelp, const CPubK
|
||||
extern UniValue oraclesdata(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue oraclessample(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue oraclessamples(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsaddress(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue paymentsaddress(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue payments_release(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue payments_fund(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
@@ -333,16 +332,6 @@ extern UniValue FSMcreate(const UniValue& params, bool fHelp, const CPubKey& myp
|
||||
extern UniValue FSMlist(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue FSMinfo(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue auctionaddress(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegscreate(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsfund(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsget(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsredeem(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsliquidate(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsexchange(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsaccounthistory(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsaccountinfo(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsworstaccounts(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
extern UniValue pegsinfo(const UniValue& params, bool fHelp, const CPubKey& mypk);
|
||||
|
||||
extern UniValue getnewaddress(const UniValue& params, bool fHelp, const CPubKey& mypk); // in rpcwallet.cpp
|
||||
//extern UniValue getnewaddress64(const UniValue& params, bool fHelp, const CPubKey& mypk); // in rpcwallet.cpp
|
||||
|
||||
Reference in New Issue
Block a user