Content - RPC - Add PS amount and round

- Related to dashpay/dash#2230
This commit is contained in:
thephez 2018-10-23 13:13:11 -04:00
parent 8a4f9c9dcd
commit 4be282f75c
9 changed files with 112 additions and 0 deletions

View file

@ -291,6 +291,8 @@ default.
* [SendMany][rpc sendmany]: {{summary_sendMany}}
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
* [SetAccount][rpc setaccount]: {{summary_setAccount}} {{DEPRECATED}}
* [SetPrivateSendAmount][rpc setprivatesendamount]: {{summary_setPrivateSendAmount}}
* [SetPrivateSendRounds][rpc setprivatesendrounds]: {{summary_setPrivateSendRounds}}
* [SetTxFee][rpc settxfee]: {{summary_setTxFee}}
* [SignMessage][rpc signmessage]: {{summary_signMessage}}
* [WalletLock][rpc walletlock]: {{summary_walletLock}}

View file

@ -0,0 +1,42 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/setprivatesendamount.md" %}
##### SetPrivateSendAmount
{% include helpers/subhead-links.md %}
{% assign summary_setPrivateSendAmount="sets the amount of DASH to be mixed with PrivateSend" %}
<!-- __ -->
{% autocrossref %}
The `setprivatesendamount` RPC {{summary_setPrivateSendAmount}}
*Parameter #1---amount to mix*
{% itemplate ntpd1 %}
- n: "Amount"
t: "int"
p: "Required<br>(exactly 1)"
d: "The number of DASH to mix (minimum: 2, maximum: 21,000,000)"
{% enditemplate %}
*Result---`null` on success*
*Example from Dash Core 0.12.4*
{% highlight bash %}
dash-cli -testnet setprivatesendamount 2000
{% endhighlight %}
(Success: no result displayed.)
*See also:*
* [SetPrivateSendRounds][rpc setprivatesendrounds]: {{summary_setPrivateSendRounds}}
{% endautocrossref %}

View file

@ -0,0 +1,42 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/setprivatesendrounds.md" %}
##### SetPrivateSendRounds
{% include helpers/subhead-links.md %}
{% assign summary_setPrivateSendRounds="sets the number of PrivateSend mixing rounds to use" %}
<!-- __ -->
{% autocrossref %}
The `setprivatesendrounds` RPC {{summary_setPrivateSendRounds}}
*Parameter #1---number of mixing rounds to use*
{% itemplate ntpd1 %}
- n: "Rounds"
t: "int"
p: "Required<br>(exactly 1)"
d: "The number of mixing rounds to use (minimum: 1, maximum: 16)"
{% enditemplate %}
*Result---`null` on success*
*Example from Dash Core 0.12.4*
{% highlight bash %}
dash-cli -testnet setprivatesendrounds 4
{% endhighlight %}
(Success: no result displayed.)
*See also:*
* [SetPrivateSendAmount][rpc setprivatesendamount]: {{summary_setPrivateSendAmount}}
{% endautocrossref %}