mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
content - Update generate RPC
- Add iterations parameter - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663)
This commit is contained in:
parent
583b583c82
commit
923d6a4550
3 changed files with 15 additions and 2 deletions
|
@ -170,7 +170,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
* [Generate][rpc generate]: {{summary_generate}} {{NEW0_11_0}}, {{UPDATED0_13_0}}
|
* [Generate][rpc generate]: {{summary_generate}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||||
* [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
* [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
||||||
##### Generate
|
##### Generate
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_generate="mines blocks immediately (before the RPC call returns)." %}
|
{% assign summary_generate="mines blocks immediately (before the RPC call returns)." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
@ -25,6 +27,17 @@ The `generate` RPC {{summary_generate}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #2---the number of iterations*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`numblocks`"
|
||||||
|
t: "number (int)"
|
||||||
|
p: "Required<br>(exactly 1)"
|
||||||
|
d: "The number of iterations to try (default = 1000000)."
|
||||||
|
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
|
||||||
*Result---the generated block header hashes*
|
*Result---the generated block header hashes*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
|
|
|
@ -299,7 +299,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<td class="tg-b7b8">Generating</td>
|
<td class="tg-b7b8">Generating</td>
|
||||||
<td class="tg-b7b8"><a href="#generate">Generate</a></td>
|
<td class="tg-b7b8"><a href="#generate">Generate</a></td>
|
||||||
<td class="tg-dzk6">Y</td>
|
<td class="tg-dzk6">Y</td>
|
||||||
<td class="tg-dzk6"></td>
|
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Generating</td>
|
<td class="tg-yw4l">Generating</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue