content - Update generate RPC

- Add iterations parameter
 - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663)
This commit is contained in:
thephez 2018-02-22 15:06:04 -05:00
parent 583b583c82
commit 923d6a4550
3 changed files with 15 additions and 2 deletions

View file

@ -170,7 +170,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
{% 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}}
{% endautocrossref %}

View file

@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
##### Generate
{% include helpers/subhead-links.md %}
<!-- __ -->
{% assign summary_generate="mines blocks immediately (before the RPC call returns)." %}
{% autocrossref %}
@ -25,6 +27,17 @@ The `generate` RPC {{summary_generate}}
{% 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*
{% itemplate ntpd1 %}

View file

@ -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"><a href="#generate">Generate</a></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>
<td class="tg-yw4l">Generating</td>