mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
content - Added PreciousBlock RPC
- Update Ref and Table
This commit is contained in:
parent
61d4f1b066
commit
c242090504
3 changed files with 10 additions and 14 deletions
|
@ -115,6 +115,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
* [GetTxOut][rpc gettxout]: {{summary_getTxOut}}
|
* [GetTxOut][rpc gettxout]: {{summary_getTxOut}}
|
||||||
* [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}}
|
||||||
* [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}}
|
||||||
|
|
||||||
|
@ -124,7 +125,6 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{NEW0_14_0}}
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
|
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -7,15 +7,13 @@ http://opensource.org/licenses/MIT.
|
||||||
##### PreciousBlock
|
##### PreciousBlock
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_preciousBlock="treats a block as if it were received before others with the same work." %}
|
{% assign summary_preciousBlock="treats a block as if it were received before others with the same work." %}
|
||||||
|
|
||||||
{% 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 `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call can override the effect of an earlier one. The effects of `preciousblock` are not retained across restarts.
|
The `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call can override the effect of an earlier one. The effects of `preciousblock` are not retained across restarts.
|
||||||
|
|
||||||
|
@ -39,15 +37,13 @@ The `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call c
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Bitcoin Core 0.14.1*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli preciousblock 000000000000000001517a0bac70b8cd6f27ee\
|
dash-cli preciousblock 00000000034d77e287b63922a94f12e8c4ab9e\
|
||||||
1b50a8f12bf606ea6fb6d561cd
|
1d8056060fd51f6153ea5dc757
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Result (no output from `bitcoin-cli` because result is set to `null`).
|
Result (no output from `dash-cli` because result is set to `null`).
|
||||||
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -178,8 +178,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Blockchain</td>
|
<td class="tg-b7b8">Blockchain</td>
|
||||||
<td class="tg-b7b8"><a href="#preciousblock">PreciousBlock</a></td>
|
<td class="tg-b7b8"><a href="#preciousblock">PreciousBlock</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">Blockchain</td>
|
<td class="tg-yw4l">Blockchain</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue