mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - Add abortrescan
This commit is contained in:
parent
5d4f78c5f3
commit
81285914c5
8 changed files with 59 additions and 0 deletions
|
@ -289,6 +289,8 @@ DIP8:
|
||||||
## RPCs
|
## RPCs
|
||||||
'`abandontransaction`': rpc abandontransaction
|
'`abandontransaction`': rpc abandontransaction
|
||||||
'`abandontransaction` RPC': rpc abandontransaction
|
'`abandontransaction` RPC': rpc abandontransaction
|
||||||
|
'`abortrescan`': rpc abortrescan
|
||||||
|
'`abortrescan` RPC': rpc abortrescan
|
||||||
'`addmultisigaddress`': rpc addmultisigaddress
|
'`addmultisigaddress`': rpc addmultisigaddress
|
||||||
'`addmultisigaddress` RPC': rpc addmultisigaddress
|
'`addmultisigaddress` RPC': rpc addmultisigaddress
|
||||||
'`addnode`': rpc addnode
|
'`addnode`': rpc addnode
|
||||||
|
|
|
@ -166,6 +166,7 @@ devsearches:
|
||||||
## leading capital) for easier quick scanning
|
## leading capital) for easier quick scanning
|
||||||
"RPCs":
|
"RPCs":
|
||||||
- 'AbandonTransaction': "/en/developer-reference#abandontransaction"
|
- 'AbandonTransaction': "/en/developer-reference#abandontransaction"
|
||||||
|
- 'AbortRescan': "/en/developer-reference#abortrescan"
|
||||||
- 'AddMultiSigAddress': "/en/developer-reference#addmultisigaddress"
|
- 'AddMultiSigAddress': "/en/developer-reference#addmultisigaddress"
|
||||||
- 'AddNode': "/en/developer-reference#addnode"
|
- 'AddNode': "/en/developer-reference#addnode"
|
||||||
- 'AddWitnessAddress': "/en/developer-reference#addwitnessaddress"
|
- 'AddWitnessAddress': "/en/developer-reference#addwitnessaddress"
|
||||||
|
|
|
@ -278,6 +278,7 @@ with [wallet support][]{:#term-wallet-support}{:.term}, which is the
|
||||||
default.
|
default.
|
||||||
|
|
||||||
* [AbandonTransaction][rpc abandontransaction]: {{summary_abandonTransaction}} {{NEW0_12_0}}
|
* [AbandonTransaction][rpc abandontransaction]: {{summary_abandonTransaction}} {{NEW0_12_0}}
|
||||||
|
* [AbortRescan][rpc abortrescan]: {{summary_abortrescan}} {{DASH_NEW0_14_1}}
|
||||||
* [AddMultiSigAddress][rpc addmultisigaddress]: {{summary_addMultiSigAddress}}
|
* [AddMultiSigAddress][rpc addmultisigaddress]: {{summary_addMultiSigAddress}}
|
||||||
* [BackupWallet][rpc backupwallet]: {{summary_backupWallet}}
|
* [BackupWallet][rpc backupwallet]: {{summary_backupWallet}}
|
||||||
* [DumpHDInfo][rpc dumphdinfo]: {{summary_dumpHDInfo}} {{DASH_NEW0_12_2}}
|
* [DumpHDInfo][rpc dumphdinfo]: {{summary_dumpHDInfo}} {{DASH_NEW0_12_2}}
|
||||||
|
|
45
_includes/devdoc/dash-core/rpcs/rpcs/abortrescan.md
Normal file
45
_includes/devdoc/dash-core/rpcs/rpcs/abortrescan.md
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{% 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/abortrescan.md" %}
|
||||||
|
<!--__-->
|
||||||
|
|
||||||
|
##### AbortRescan
|
||||||
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
{% assign summary_abortRescan="Stops current wallet rescan" %}
|
||||||
|
|
||||||
|
{% autocrossref %}
|
||||||
|
|
||||||
|
The `abortrescan` RPC {{summary_abortRescan}}
|
||||||
|
|
||||||
|
Stops current wallet rescan triggered e.g. by an `importprivkey` RPC call.
|
||||||
|
|
||||||
|
*Parameters: none*
|
||||||
|
|
||||||
|
*Result---`true` on success*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`result`"
|
||||||
|
t: "null"
|
||||||
|
p: "Required<br>(exactly 1)"
|
||||||
|
d: "`true` when the command was successful or `false` if not successful."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Example from Dash Core 0.14.1*
|
||||||
|
|
||||||
|
Abort the running wallet rescan
|
||||||
|
|
||||||
|
{% highlight bash %}
|
||||||
|
dash-cli -testnet abortrescan
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
Result:
|
||||||
|
{% highlight text %}
|
||||||
|
true
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
*See also: none*
|
||||||
|
|
||||||
|
{% endautocrossref %}
|
|
@ -1,6 +1,7 @@
|
||||||
{%comment%}AUTOMATICALLY-GENERATED FILE: DO NOT EDIT THIS FILE
|
{%comment%}AUTOMATICALLY-GENERATED FILE: DO NOT EDIT THIS FILE
|
||||||
This file is licensed under the terms of its source texts{%endcomment%}
|
This file is licensed under the terms of its source texts{%endcomment%}
|
||||||
{% assign summary_abandonTransaction="marks an in-wallet transaction and all its in-wallet descendants as abandoned. This allows their inputs to be respent." %}
|
{% assign summary_abandonTransaction="marks an in-wallet transaction and all its in-wallet descendants as abandoned. This allows their inputs to be respent." %}
|
||||||
|
{% assign summary_abortRescan="Stops current wallet rescan" %}
|
||||||
{% assign summary_addMultiSigAddress="adds a P2SH multisig address to the wallet." %}
|
{% assign summary_addMultiSigAddress="adds a P2SH multisig address to the wallet." %}
|
||||||
{% assign summary_addNode="attempts to add or remove a node from the addnode list, or to try a connection to a node once." %}
|
{% assign summary_addNode="attempts to add or remove a node from the addnode list, or to try a connection to a node once." %}
|
||||||
{% assign summary_addWitnessAddress="adds a witness address for a script (with pubkey or redeem script known)." %}
|
{% assign summary_addWitnessAddress="adds a witness address for a script (with pubkey or redeem script known)." %}
|
||||||
|
|
|
@ -565,6 +565,12 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<td class="tg-dzk6">Y</td>
|
<td class="tg-dzk6">Y</td>
|
||||||
<td class="tg-dzk6"></td>
|
<td class="tg-dzk6"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-b7b8">Wallet</td>
|
||||||
|
<td class="tg-b7b8"><a href="#abortrescan">AbortRescan</a></td>
|
||||||
|
<td class="tg-dzk6">Y</td>
|
||||||
|
<td class="tg-dzk6">Added in 0.14.1</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Wallet</td>
|
<td class="tg-yw4l">Wallet</td>
|
||||||
<td class="tg-yw4l"><a href="#addmultisigaddress">AddMultiSigAddress</a></td>
|
<td class="tg-yw4l"><a href="#addmultisigaddress">AddMultiSigAddress</a></td>
|
||||||
|
|
|
@ -69,6 +69,7 @@ http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
{% comment %}<!-- RPCs; alphabetical order -->{% endcomment %}
|
{% comment %}<!-- RPCs; alphabetical order -->{% endcomment %}
|
||||||
[rpc abandontransaction]: /en/developer-reference#abandontransaction
|
[rpc abandontransaction]: /en/developer-reference#abandontransaction
|
||||||
|
[rpc abortrescan]: /en/developer-reference#abortrescan
|
||||||
[rpc addmultisigaddress]: /en/developer-reference#addmultisigaddress
|
[rpc addmultisigaddress]: /en/developer-reference#addmultisigaddress
|
||||||
[rpc addnode]: /en/developer-reference#addnode
|
[rpc addnode]: /en/developer-reference#addnode
|
||||||
[rpc addwitnessaddress]: /en/developer-reference#addwitnessaddress
|
[rpc addwitnessaddress]: /en/developer-reference#addwitnessaddress
|
||||||
|
|
|
@ -72,6 +72,8 @@ untrusted source.
|
||||||
|
|
||||||
{% include devdoc/dash-core/rpcs/rpcs/abandontransaction.md %}
|
{% include devdoc/dash-core/rpcs/rpcs/abandontransaction.md %}
|
||||||
|
|
||||||
|
{% include devdoc/dash-core/rpcs/rpcs/abortrescan.md %}
|
||||||
|
|
||||||
{% include devdoc/dash-core/rpcs/rpcs/addmultisigaddress.md %}
|
{% include devdoc/dash-core/rpcs/rpcs/addmultisigaddress.md %}
|
||||||
|
|
||||||
{% include devdoc/dash-core/rpcs/rpcs/addnode.md %}
|
{% include devdoc/dash-core/rpcs/rpcs/addnode.md %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue