mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
content - Add SetBIP69Enabled RPC
This commit is contained in:
parent
6b43160828
commit
e220afe975
8 changed files with 62 additions and 0 deletions
|
@ -467,6 +467,8 @@ CVE-2012-2459:
|
|||
'`sendtoaddress` RPC': rpc sendtoaddress
|
||||
'`setaccount`': rpc setaccount
|
||||
'`setaccount` RPC': rpc setaccount
|
||||
'`setbip69enabled`': rpc setbip69enabled
|
||||
'`setbip69enabled` RPC': rpc setbip69enabled
|
||||
'`setban`': rpc setban
|
||||
'`setban` RPC': rpc setban
|
||||
'`setgenerate`': rpc setgenerate
|
||||
|
|
|
@ -297,6 +297,7 @@ devsearches:
|
|||
- 'SendToAddress': "/en/developer-reference#sendtoaddress"
|
||||
- 'SetAccount': "/en/developer-reference#setaccount"
|
||||
- 'SetBan': "/en/developer-reference#setban"
|
||||
- 'SetBIP69Enabled': "/en/developer-reference#setbip69enabled"
|
||||
- 'SetGenerate': "/en/developer-reference#setgenerate"
|
||||
- 'SetNetworkActive': "/en/developer-reference#setnetworkactive"
|
||||
- 'SetTxFee': "/en/developer-reference#settxfee"
|
||||
|
|
|
@ -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}}
|
||||
|
|
48
_includes/devdoc/dash-core/rpcs/rpcs/setbip69enabled.md
Normal file
48
_includes/devdoc/dash-core/rpcs/rpcs/setbip69enabled.md
Normal 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 %}
|
|
@ -123,6 +123,7 @@ This file is licensed under the terms of its source texts{%endcomment%}
|
|||
{% assign summary_sendToAddress="spends an amount to a given address." %}
|
||||
{% assign summary_sentinelPing="sends a Sentinel Ping to the network." %}
|
||||
{% assign summary_setAccount="puts the specified address in the given account." %}
|
||||
{% assign summary_setBIP69Enabled="enables or disables BIP69 input/output sorting (regtest network only)" %}
|
||||
{% assign summary_setBan="attempts add or remove a IP/Subnet from the banned list." %}
|
||||
{% assign summary_setGenerate="was removed in Dash Core 0.12.3." %}
|
||||
{% assign summary_setNetworkActive="disables/enables all P2P network activity." %}
|
||||
|
|
|
@ -511,6 +511,12 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#setbip69enabled">SetBIP69Enabled</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#validateaddress">ValidateAddress</a></td>
|
||||
|
|
|
@ -170,6 +170,7 @@ http://opensource.org/licenses/MIT.
|
|||
[rpc sendtoaddress]: /en/developer-reference#sendtoaddress
|
||||
[rpc setaccount]: /en/developer-reference#setaccount
|
||||
[rpc setban]: /en/developer-reference#setban
|
||||
[rpc setbip69enabled]: /en/developer-reference#setbip69enabled
|
||||
[rpc setgenerate]: /en/developer-reference#setgenerate
|
||||
[rpc setnetworkactive]: /en/developer-reference#setnetworkactive
|
||||
[rpc settxfee]: /en/developer-reference#settxfee
|
||||
|
|
|
@ -300,6 +300,8 @@ untrusted source.
|
|||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setban.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setbip69enabled.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setgenerate.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setnetworkactive.md %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue