rpc: unhide waitfor{block,newblock,blockheight}
They are now reliable. An earlier commit dropped their IsRPCRunning() guards so they also work in the GUI.
This commit is contained in:
2 files changed
+5
-4
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
Updated RPCs
|
Updated RPCs
|
||||||
------------
|
------------
|
||||||
|
|
||||||
- The waitfornewblock RPC takes an optional `current_tip` argument. (#30635)
|
- The waitfornewblock now takes an optional `current_tip` argument. It is also no longer hidden. (#30635)
|
||||||
|
- The waitforblock and waitforblockheight RPCs are no longer hidden. (#30635)
|
||||||
@@ -3437,9 +3437,9 @@ void RegisterBlockchainRPCCommands(CRPCTable& t)
|
|||||||
{"blockchain", &getchainstates},
|
{"blockchain", &getchainstates},
|
||||||
{"hidden", &invalidateblock},
|
{"hidden", &invalidateblock},
|
||||||
{"hidden", &reconsiderblock},
|
{"hidden", &reconsiderblock},
|
||||||
{"hidden", &waitfornewblock},
|
{"blockchain", &waitfornewblock},
|
||||||
{"hidden", &waitforblock},
|
{"blockchain", &waitforblock},
|
||||||
{"hidden", &waitforblockheight},
|
{"blockchain", &waitforblockheight},
|
||||||
{"hidden", &syncwithvalidationinterfacequeue},
|
{"hidden", &syncwithvalidationinterfacequeue},
|
||||||
};
|
};
|
||||||
for (const auto& c : commands) {
|
for (const auto& c : commands) {
|
||||||
|
|||||||
Reference in new issue
Block a user