mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +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}}
|
||||
* [GetTxOutSetInfo][rpc gettxoutsetinfo]: {{summary_getTxOutSetInfo}}
|
||||
* [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}}
|
||||
* [VerifyTxOutProof][rpc verifytxoutproof]: {{summary_verifyTxOutProof}} {{NEW0_11_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
**Not implemented in Dash**
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
#### Control RPCs
|
||||
{:.no_toc}
|
||||
<!-- no subhead-links here -->
|
||||
|
@ -275,6 +268,7 @@ default.
|
|||
* [ImportElectrumWallet][rpc importelectrumwallet]: {{summary_importElectrumWallet}} {{DASH_NEW0_12_1}}
|
||||
* [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}}
|
||||
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
|
||||
* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}}
|
||||
|
@ -290,6 +284,7 @@ default.
|
|||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
||||
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
|
||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} {{DEPRECATED}}
|
||||
* [SendMany][rpc sendmany]: {{summary_sendMany}}
|
||||
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
|
||||
|
@ -302,8 +297,6 @@ default.
|
|||
|
||||
* {{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}} [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{NEW0_13_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
|||
##### ImportPrunedFunds
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_importPrunedFunds="imports funds without the need of a rescan. Meant for use with pruned wallets." %}
|
||||
|
||||
{% 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.*
|
||||
|
||||
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 %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
||||
|
@ -65,6 +64,4 @@ bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
|||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,15 +7,13 @@ http://opensource.org/licenses/MIT.
|
|||
##### PruneBlockChain
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_pruneBlockChain="prunes the blockchain up to a specified height or timestamp." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.14.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||
|
||||
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 %}
|
||||
|
||||
*Examples from Bitcoin Core 0.14.1*
|
||||
*Examples from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli pruneblockchain 413555
|
||||
dash-cli pruneblockchain 413555
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
@ -55,6 +53,4 @@ Result:
|
|||
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
|||
##### RemovePrunedFunds
|
||||
{% 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." %}
|
||||
|
||||
{% 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.*
|
||||
|
||||
The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect wallet balances.
|
||||
|
@ -40,11 +39,11 @@ The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect walle
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli removeprunedfunds a8d0c0184dde994a09ec054286f1ce581b\
|
||||
ebf46446a512166eae7628734ea0a5
|
||||
dash-cli removeprunedfunds bb7daff525b83fa6a847ab50bf7f8f14d6\
|
||||
22761a19f69157b362ef3f25bda687
|
||||
{% endhighlight %}
|
||||
|
||||
(Success: no result displayed.)
|
||||
|
@ -54,6 +53,4 @@ ebf46446a512166eae7628734ea0a5
|
|||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue