diff --git a/_includes/devdoc/dash-core/api-intro.md b/_includes/devdoc/dash-core/api-intro.md index 13d4667a..7dc30288 100644 --- a/_includes/devdoc/dash-core/api-intro.md +++ b/_includes/devdoc/dash-core/api-intro.md @@ -4,7 +4,7 @@ http://opensource.org/licenses/MIT. {% endcomment %} {% assign filename="_includes/devdoc/dash-core/api-intro.md" %} -## Bitcoin Core APIs +## Dash Core APIs {% include helpers/subhead-links.md %} ### Hash Byte Order diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/privatesend.md b/_includes/devdoc/dash-core/rpcs/rpcs/privatesend.md index 5d1f2a75..8c74a6ae 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/privatesend.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/privatesend.md @@ -7,21 +7,91 @@ http://opensource.org/licenses/MIT. ##### PrivateSend {% include helpers/subhead-links.md %} -{% assign summary_privateSend="" %} +{% assign summary_privateSend="controls the mixing process." %} {% autocrossref %} The `privatesend` RPC {{summary_privateSend}} +{% itemplate ntpd1 %} +- n: "`mode`" + t: "string" + p: "Required
(exactly 1)" + d: "The command mode to use:
`start` - Start mixing
`stop` - Stop mixing
`reset` - Reset mixing" + +{% enditemplate %} + +**Command Mode - `start`** + +*Result---start command return status* + +{% itemplate ntpd1 %} +- n: "`result`" + t: "string" + p: "Required
(exactly 1)" + d: "Command return status" + +{% enditemplate %} + +*Example from Dash Core 0.12.2* + {% highlight bash %} -dash-cli -testnet privatesend +dash-cli -testnet privatesend start {% endhighlight %} Result: -{% highlight json %} - *INSERT RESULTS HERE* +{% highlight text %} +Mixing started successfully {% endhighlight %} -*See also:* + +**Command Mode - `stop`** + +*Result---stop command return status* + +{% itemplate ntpd1 %} +- n: "`result`" + t: "string" + p: "Required
(exactly 1)" + d: "Command return status" + +{% enditemplate %} + +*Example from Dash Core 0.12.2* + +{% highlight bash %} +dash-cli -testnet privatesend stop +{% endhighlight %} + +Result: +{% highlight text %} +Mixing was stopped +{% endhighlight %} + + +**Command Mode - `reset`** + +*Result---reset command return status* + +{% itemplate ntpd1 %} +- n: "`result`" + t: "string" + p: "Required
(exactly 1)" + d: "Command return status" + +{% enditemplate %} + +*Example from Dash Core 0.12.2* + +{% highlight bash %} +dash-cli -testnet privatesend reset +{% endhighlight %} + +Result: +{% highlight text %} +Mixing was reset +{% endhighlight %} + +*See also: none* {% endautocrossref %}