mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 02:06:13 +00:00
content - Update Pruning related RPCs
- Update PruneBlockchain, ImportPrunedFunds, and RemovePrunedFunds
This commit is contained in:
parent
825d90c3d4
commit
c21403c557
5 changed files with 24 additions and 41 deletions
|
@ -116,19 +116,12 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
* [GetTxOutProof][rpc gettxoutproof]: {{summary_getTxOutProof}} {{NEW0_11_0}}
|
* [GetTxOutProof][rpc gettxoutproof]: {{summary_getTxOutProof}} {{NEW0_11_0}}
|
||||||
* [GetTxOutSetInfo][rpc gettxoutsetinfo]: {{summary_getTxOutSetInfo}}
|
* [GetTxOutSetInfo][rpc gettxoutsetinfo]: {{summary_getTxOutSetInfo}}
|
||||||
* [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
* [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||||
|
* [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||||
* [VerifyChain][rpc verifychain]: {{summary_verifyChain}}
|
* [VerifyChain][rpc verifychain]: {{summary_verifyChain}}
|
||||||
* [VerifyTxOutProof][rpc verifytxoutproof]: {{summary_verifyTxOutProof}} {{NEW0_11_0}}
|
* [VerifyTxOutProof][rpc verifytxoutproof]: {{summary_verifyTxOutProof}} {{NEW0_11_0}}
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
**Not implemented in Dash**
|
|
||||||
|
|
||||||
{% autocrossref %}
|
|
||||||
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
|
||||||
|
|
||||||
#### Control RPCs
|
#### Control RPCs
|
||||||
{:.no_toc}
|
{:.no_toc}
|
||||||
<!-- no subhead-links here -->
|
<!-- no subhead-links here -->
|
||||||
|
@ -275,6 +268,7 @@ default.
|
||||||
* [ImportElectrumWallet][rpc importelectrumwallet]: {{summary_importElectrumWallet}} {{DASH_NEW0_12_1}}
|
* [ImportElectrumWallet][rpc importelectrumwallet]: {{summary_importElectrumWallet}} {{DASH_NEW0_12_1}}
|
||||||
* [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
* [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||||
|
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||||
* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}}
|
* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}}
|
||||||
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
|
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
|
||||||
* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}}
|
* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}}
|
||||||
|
@ -290,6 +284,7 @@ default.
|
||||||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||||
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
||||||
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
|
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
|
||||||
|
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||||
* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} {{DEPRECATED}}
|
* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} {{DEPRECATED}}
|
||||||
* [SendMany][rpc sendmany]: {{summary_sendMany}}
|
* [SendMany][rpc sendmany]: {{summary_sendMany}}
|
||||||
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
|
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
|
||||||
|
@ -302,8 +297,6 @@ default.
|
||||||
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [AddWitnessAddress][rpc addwitnessaddress]: {{summary_addWitnessAddress}} {{NEW0_13_0}}
|
* {{DASH_NOT_IMPLEMENTED}} [AddWitnessAddress][rpc addwitnessaddress]: {{summary_addWitnessAddress}} {{NEW0_13_0}}
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [BumpFee][rpc bumpfee]: {{summary_bumpFee}} {{NEW0_14_0}}
|
* {{DASH_NOT_IMPLEMENTED}} [BumpFee][rpc bumpfee]: {{summary_bumpFee}} {{NEW0_14_0}}
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{NEW0_13_0}}
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{NEW0_13_0}}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
||||||
##### ImportPrunedFunds
|
##### ImportPrunedFunds
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_importPrunedFunds="imports funds without the need of a rescan. Meant for use with pruned wallets." %}
|
{% assign summary_importPrunedFunds="imports funds without the need of a rescan. Meant for use with pruned wallets." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
*Added in Bitcoin Core 0.13.0*
|
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||||
|
|
||||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
|
||||||
|
|
||||||
{% comment %}
|
|
||||||
*Requires wallet support.*
|
*Requires wallet support.*
|
||||||
|
|
||||||
The `importprunedfunds` RPC {{summary_importPrunedFunds}} Corresponding address or script must previously be included in wallet.
|
The `importprunedfunds` RPC {{summary_importPrunedFunds}} Corresponding address or script must previously be included in wallet.
|
||||||
|
@ -52,7 +51,7 @@ outputs or rescan after the point in the blockchain the transaction is included.
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Bitcoin Core 0.13.1*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
||||||
|
@ -65,6 +64,4 @@ bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
||||||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}}
|
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}}
|
||||||
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -7,15 +7,13 @@ http://opensource.org/licenses/MIT.
|
||||||
##### PruneBlockChain
|
##### PruneBlockChain
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_pruneBlockChain="prunes the blockchain up to a specified height or timestamp." %}
|
{% assign summary_pruneBlockChain="prunes the blockchain up to a specified height or timestamp." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
*Added in Bitcoin Core 0.14.0*
|
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||||
|
|
||||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
|
||||||
|
|
||||||
{% comment %}
|
|
||||||
|
|
||||||
The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs to be enabled (disabled by default).
|
The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs to be enabled (disabled by default).
|
||||||
|
|
||||||
|
@ -39,10 +37,10 @@ The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Examples from Bitcoin Core 0.14.1*
|
*Examples from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli pruneblockchain 413555
|
dash-cli pruneblockchain 413555
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Result:
|
Result:
|
||||||
|
@ -55,6 +53,4 @@ Result:
|
||||||
|
|
||||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||||
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
||||||
##### RemovePrunedFunds
|
##### RemovePrunedFunds
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_removePrunedFunds="deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds." %}
|
{% assign summary_removePrunedFunds="deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
*Added in Bitcoin Core 0.13.0*
|
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||||
|
|
||||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
|
||||||
|
|
||||||
{% comment %}
|
|
||||||
*Requires wallet support.*
|
*Requires wallet support.*
|
||||||
|
|
||||||
The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect wallet balances.
|
The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect wallet balances.
|
||||||
|
@ -40,11 +39,11 @@ The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect walle
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Bitcoin Core 0.13.1*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli removeprunedfunds a8d0c0184dde994a09ec054286f1ce581b\
|
dash-cli removeprunedfunds bb7daff525b83fa6a847ab50bf7f8f14d6\
|
||||||
ebf46446a512166eae7628734ea0a5
|
22761a19f69157b362ef3f25bda687
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
(Success: no result displayed.)
|
(Success: no result displayed.)
|
||||||
|
@ -54,6 +53,4 @@ ebf46446a512166eae7628734ea0a5
|
||||||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||||
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -184,8 +184,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Blockchain</td>
|
<td class="tg-yw4l">Blockchain</td>
|
||||||
<td class="tg-yw4l"><a href="#pruneblockchain">PruneBlockChain</a></td>
|
<td class="tg-yw4l"><a href="#pruneblockchain">PruneBlockChain</a></td>
|
||||||
<td class="tg-baqh">N</td>
|
<td class="tg-baqh">Y</td>
|
||||||
<td class="tg-baqh">N/A</td>
|
<td class="tg-baqh">0.12.3.0+</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Blockchain</td>
|
<td class="tg-b7b8">Blockchain</td>
|
||||||
|
@ -670,8 +670,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Wallet</td>
|
<td class="tg-b7b8">Wallet</td>
|
||||||
<td class="tg-b7b8"><a href="#importprunedfunds">ImportPrunedFunds</a></td>
|
<td class="tg-b7b8"><a href="#importprunedfunds">ImportPrunedFunds</a></td>
|
||||||
<td class="tg-dzk6">N</td>
|
<td class="tg-dzk6">Y</td>
|
||||||
<td class="tg-dzk6">N/A</td>
|
<td class="tg-dzk6">0.12.3.0+</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Wallet</td>
|
<td class="tg-yw4l">Wallet</td>
|
||||||
|
@ -766,8 +766,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Wallet</td>
|
<td class="tg-b7b8">Wallet</td>
|
||||||
<td class="tg-b7b8"><a href="#removeprunedfunds">RemovePrunedFunds</a></td>
|
<td class="tg-b7b8"><a href="#removeprunedfunds">RemovePrunedFunds</a></td>
|
||||||
<td class="tg-dzk6">N</td>
|
<td class="tg-dzk6">Y</td>
|
||||||
<td class="tg-dzk6">N/A</td>
|
<td class="tg-dzk6">0.12.3.0+</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Wallet</td>
|
<td class="tg-yw4l">Wallet</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue