mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Move setmocktime to hidden category
Another testing-only potential footgun command.
This commit is contained in:
parent
bd9aebf19d
commit
f86a24b368
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,6 @@ static const CRPCCommand vRPCCommands[] =
|
||||||
{ "control", "getinfo", &getinfo, true, false, false }, /* uses wallet if enabled */
|
{ "control", "getinfo", &getinfo, true, false, false }, /* uses wallet if enabled */
|
||||||
{ "control", "help", &help, true, true, false },
|
{ "control", "help", &help, true, true, false },
|
||||||
{ "control", "stop", &stop, true, true, false },
|
{ "control", "stop", &stop, true, true, false },
|
||||||
{ "control", "setmocktime", &setmocktime, true, false, false },
|
|
||||||
|
|
||||||
/* P2P networking */
|
/* P2P networking */
|
||||||
{ "network", "getnetworkinfo", &getnetworkinfo, true, false, false },
|
{ "network", "getnetworkinfo", &getnetworkinfo, true, false, false },
|
||||||
|
|
@ -303,6 +302,7 @@ static const CRPCCommand vRPCCommands[] =
|
||||||
/* Not shown in help */
|
/* Not shown in help */
|
||||||
{ "hidden", "invalidateblock", &invalidateblock, true, true, false },
|
{ "hidden", "invalidateblock", &invalidateblock, true, true, false },
|
||||||
{ "hidden", "reconsiderblock", &reconsiderblock, true, true, false },
|
{ "hidden", "reconsiderblock", &reconsiderblock, true, true, false },
|
||||||
|
{ "hidden", "setmocktime", &setmocktime, true, false, false },
|
||||||
|
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
/* Wallet */
|
/* Wallet */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue