From 2f8ae33148db1e6c86fb0b62d7cd81c3aa024115 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Wed, 16 Sep 2020 14:52:28 -0500 Subject: [PATCH] docs: Update rebroadcast JSON-RPC docs. This updates the rebroadcastmissed and rebroadcastwinners entries to be properly categorized under the Websocket Methods section and updates them to properly call out the associated notifications they generate. --- docs/json_rpc_api.mediawiki | 88 ++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/docs/json_rpc_api.mediawiki b/docs/json_rpc_api.mediawiki index 83ccebb0..5acbfa10 100644 --- a/docs/json_rpc_api.mediawiki +++ b/docs/json_rpc_api.mediawiki @@ -358,14 +358,6 @@ the method name for further details such as parameter and return information. |N |Queues a ping to be sent to each connected peer. |- -|[[#rebroadcastmissed|rebroadcastmissed]] -|Y -|Asks the daemon to rebroadcast missed votes. -|- -|[[#rebroadcastwinners|rebroadcastwinners]] -|Y -|Asks the daemon to rebroadcast the winners of the voting lottery. -|- |[[#regentemplate|regentemplate]] |Y |Asks the daemon to regenerate the mining block template. @@ -2158,42 +2150,6 @@ of the best block. ---- -====rebroadcastmissed==== -{| -!Method -|rebroadcastmissed -|- -!Parameters -|None -|- -!Description -|Asks the daemon to rebroadcast missed votes. -|- -!Returns -|Nothing -|- -|} - ----- - -====rebroadcastwinners==== -{| -!Method -|rebroadcastwinners -|- -!Parameters -|None -|- -!Description -|Asks the daemon to rebroadcast the winners of the voting lottery. -|- -!Returns -|Nothing -|- -|} - ----- - ====regentemplate==== {| !Method @@ -2633,6 +2589,14 @@ user. Click the method name for further details such as parameter and return in |Load, add to, or reload a websocket client's transaction filter for mempool transactions, new blocks and rescanblocks. |[[#relevanttxaccepted|relevanttxaccepted]] |- +|[[#rebroadcastmissed|rebroadcastmissed]] +|Asks the daemon to rebroadcast missed votes. +|[[#spentandmissedtickets|spentandmissedtickets]] +|- +|[[#rebroadcastwinners|rebroadcastwinners]] +|Asks the daemon to rebroadcast the winners of the voting lottery. +|[[#winningtickets|winningtickets]] +|- |[[#rescan|rescan]] |Rescan block chain for transactions to addresses and spent transaction outpoints. |[[#recvtx|recvtx]], [[#redeemingtx|redeemingtx]], [[#rescanprogress|rescanprogress]], and [[#rescanfinished|rescanfinished]] @@ -2890,6 +2854,42 @@ NOTE: This is only required if an HTTP Authorization header is not being used. ---- +====rebroadcastmissed==== +{| +!Method +|rebroadcastmissed +|- +!Parameters +|None +|- +!Description +|Asks the daemon to rebroadcast missed votes via a [[#spentandmissedtickets|spentandmissedtickets]] notification. +|- +!Returns +|Nothing +|- +|} + +---- + +====rebroadcastwinners==== +{| +!Method +|rebroadcastwinners +|- +!Parameters +|None +|- +!Description +|Asks the daemon to rebroadcast the winners of the voting lottery via a [[#winningtickets|winningtickets]] notification. +|- +!Returns +|Nothing +|- +|} + +---- + ====rescan==== {| !Method