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