RPC - Add abortrescan

This commit is contained in:
thephez 2019-08-21 10:20:45 -04:00
parent 5d4f78c5f3
commit 81285914c5
8 changed files with 59 additions and 0 deletions

View file

@ -278,6 +278,7 @@ with [wallet support][]{:#term-wallet-support}{:.term}, which is the
default.
* [AbandonTransaction][rpc abandontransaction]: {{summary_abandonTransaction}} {{NEW0_12_0}}
* [AbortRescan][rpc abortrescan]: {{summary_abortrescan}} {{DASH_NEW0_14_1}}
* [AddMultiSigAddress][rpc addmultisigaddress]: {{summary_addMultiSigAddress}}
* [BackupWallet][rpc backupwallet]: {{summary_backupWallet}}
* [DumpHDInfo][rpc dumphdinfo]: {{summary_dumpHDInfo}} {{DASH_NEW0_12_2}}

View 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 %}

View file

@ -1,6 +1,7 @@
{%comment%}AUTOMATICALLY-GENERATED FILE: DO NOT EDIT THIS FILE
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_abortRescan="Stops current wallet rescan" %}
{% 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_addWitnessAddress="adds a witness address for a script (with pubkey or redeem script known)." %}

View file

@ -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"></td>
</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>
<td class="tg-yw4l">Wallet</td>
<td class="tg-yw4l"><a href="#addmultisigaddress">AddMultiSigAddress</a></td>

View file

@ -69,6 +69,7 @@ http://opensource.org/licenses/MIT.
{% comment %}<!-- RPCs; alphabetical order -->{% endcomment %}
[rpc abandontransaction]: /en/developer-reference#abandontransaction
[rpc abortrescan]: /en/developer-reference#abortrescan
[rpc addmultisigaddress]: /en/developer-reference#addmultisigaddress
[rpc addnode]: /en/developer-reference#addnode
[rpc addwitnessaddress]: /en/developer-reference#addwitnessaddress