Dash RPC updates

- Add Result section to MasternodeList
 - Formatting updates to MnSync
This commit is contained in:
thephez 2017-10-10 16:29:58 -04:00
parent d27e4a917a
commit c39e07ae29
2 changed files with 21 additions and 3 deletions

View file

@ -50,6 +50,21 @@ Mode | Description
{% enditemplate %}
*Result---the masternode list*
{% itemplate ntpd1 %}
- n: "`result`"
t: "object/null"
p: "Required<br>(exactly 1)"
d: "Information about the masternode sync status"
- n: "→<br>Masternode Info"
t: "string"
p: "Required<br>(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

View file

@ -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<br>(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<br>(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<br>(exactly 1)"
d: "Command return status:<br>`success` or `failure`"
{% enditemplate %}
*Example from Dash Core 0.12.2*