From c39e07ae29054037563e01d01eb10c7fe7d71221 Mon Sep 17 00:00:00 2001 From: thephez Date: Tue, 10 Oct 2017 16:29:58 -0400 Subject: [PATCH] Dash RPC updates - Add Result section to MasternodeList - Formatting updates to MnSync --- .../devdoc/dash-core/rpcs/rpcs/masternodelist.md | 15 +++++++++++++++ _includes/devdoc/dash-core/rpcs/rpcs/mnsync.md | 9 ++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/masternodelist.md b/_includes/devdoc/dash-core/rpcs/rpcs/masternodelist.md index 7b78a610..2f54f3bd 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/masternodelist.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/masternodelist.md @@ -50,6 +50,21 @@ Mode | Description {% enditemplate %} +*Result---the masternode list* + +{% itemplate ntpd1 %} +- n: "`result`" + t: "object/null" + p: "Required
(exactly 1)" + d: "Information about the masternode sync status" + +- n: "→
Masternode Info" + t: "string" + p: "Required
(1 or more)" + d: "The requested masternode info. Output varies based on selected `mode` and `filter` parameters" + +{% enditemplate %} + *Example from Dash Core 0.12.2* Get unfiltered Masternode list in default mode diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/mnsync.md b/_includes/devdoc/dash-core/rpcs/rpcs/mnsync.md index 46e01868..3b164241 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/mnsync.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/mnsync.md @@ -23,7 +23,7 @@ The `mnsync` RPC {{summary_mnSync}} {% enditemplate %} -**Command Mode - Status** +**Command Mode - `status`** *Result---the sync status* @@ -77,6 +77,7 @@ The `mnsync` RPC {{summary_mnSync}} t: "boolean" p: "Required
(exactly 1)" d: "Masternode list sync fail status" + {% enditemplate %} Sync Assets @@ -115,7 +116,7 @@ Result: {% endhighlight %} -**Command Mode - Next** +**Command Mode - `next`** *Result---next command return status* @@ -124,6 +125,7 @@ Result: t: "string" p: "Required
(exactly 1)" d: "Command return status" + {% enditemplate %} *Example from Dash Core 0.12.2* @@ -138,7 +140,7 @@ sync updated to MASTERNODE_SYNC_LIST {% endhighlight %} -**Command Mode - Reset** +**Command Mode - `reset`** *Result---reset command return status* @@ -147,6 +149,7 @@ sync updated to MASTERNODE_SYNC_LIST t: "string" p: "Required
(exactly 1)" d: "Command return status:
`success` or `failure`" + {% enditemplate %} *Example from Dash Core 0.12.2*