mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
Add details for PrivateSend RPC (Dash section)
This commit is contained in:
parent
09ff5b0ced
commit
0c33d487a6
2 changed files with 76 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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<br>(exactly 1)"
|
||||
d: "The command mode to use:<br>`start` - Start mixing<br>`stop` - Stop mixing<br>`reset` - Reset mixing"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
**Command Mode - `start`**
|
||||
|
||||
*Result---start command return status*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`result`"
|
||||
t: "string"
|
||||
p: "Required<br>(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<br>(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<br>(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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue