content - Add SetBIP69Enabled RPC

This commit is contained in:
thephez 2018-02-27 12:02:26 -05:00
parent 6b43160828
commit e220afe975
8 changed files with 62 additions and 0 deletions

View file

@ -230,6 +230,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
* [EstimatePriority][rpc estimatepriority]: {{summary_estimatePriority}} {{DEPRECATED}}
* [EstimateSmartFee][rpc estimatesmartfee]: {{summary_estimateSmartFee}} {{DEPRECATED}}
* [EstimateSmartPriority][rpc estimatesmartpriority]: {{summary_estimateSmartPriority}} {{DEPRECATED}}
* [SetBIP69Enabled][rpc setbip69enabled]: {{summary_setBIP69Enabled}} {{DASH_NEW0_12_3}}
* [SignMessageWithPrivKey][rpc signmessagewithprivkey]: {{summary_signMessageWithPrivKey}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}

View file

@ -0,0 +1,48 @@
{% 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/setbip69enabled.md" %}
##### SetBIP69Enabled
{% include helpers/subhead-links.md %}
{% assign summary_setBIP69Enabled="enables or disables BIP69 input/output sorting (regtest network only)" %}
<!-- __ -->
{% autocrossref %}
The `setbip69enabled` RPC {{summary_setBIP69Enabled}}
*Parameter #1---enable/disable BIP69 sorting (regtest only)*
{% itemplate ntpd1 %}
- n: "`enable`"
t: "boolean"
p: "Required<br>(exactly 1)"
d: "Set to true to turn on BIP69 sorting, false to turn off."
{% enditemplate %}
*Result---`null` or error on failure*
{% itemplate ntpd1 %}
- n: "`result`"
t: "null"
p: "Required<br>(exactly 1)"
d: "JSON `null`. The JSON-RPC error field will be set only if you entered an invalid parameter"
{% enditemplate %}
*Example from Dash Core 0.12.3*
{% highlight bash %}
dash-cli -testnet setbip69enabled true
{% endhighlight %}
Result (no output<!--noref--> from `dash-cli` because result is set to `null`).
*See also: none*
{% endautocrossref %}