Skip to content

Commit 7c81d53

Browse files
committed
chore: drop deprecated CoinJoin RPC getpoolinfo
1 parent 7cdd4f3 commit 7c81d53

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

doc/release-notes-6567.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ Updated RPCs
33

44
* The RPCs `masternode current` and `masternode winner` were deprecated in Dash Core
55
v0.17 and are now removed.
6+
* The `getpoolinfo` RPC was deprecated in Dash Core v0.15 and is now removed.

src/rpc/coinjoin.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -365,21 +365,6 @@ static RPCHelpMan coinjoinsalt_set()
365365
}
366366
#endif // ENABLE_WALLET
367367

368-
// TODO: remove it completely
369-
static RPCHelpMan getpoolinfo()
370-
{
371-
return RPCHelpMan{"getpoolinfo",
372-
"DEPRECATED. Please use getcoinjoininfo instead.\n",
373-
{},
374-
RPCResults{},
375-
RPCExamples{""},
376-
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
377-
{
378-
throw JSONRPCError(RPC_METHOD_DEPRECATED, "Please use getcoinjoininfo instead");
379-
},
380-
};
381-
}
382-
383368
static RPCHelpMan getcoinjoininfo()
384369
{
385370
return RPCHelpMan{"getcoinjoininfo",
@@ -480,8 +465,6 @@ static const CRPCCommand commands[] =
480465
{ "dash", &coinjoinsalt_generate, },
481466
{ "dash", &coinjoinsalt_get, },
482467
{ "dash", &coinjoinsalt_set, },
483-
484-
{ "hidden", &getpoolinfo, },
485468
#endif // ENABLE_WALLET
486469
};
487470
// clang-format on

0 commit comments

Comments
 (0)