Content - RPC - Update getblocktemplate

- Add `previousbits` field from dashpay/dash#2201
This commit is contained in:
thephez 2018-10-23 09:22:45 -04:00
parent f9bd089ffd
commit 7f1341b64f
2 changed files with 8 additions and 2 deletions

View file

@ -218,6 +218,11 @@ information, please see the following resources:
p: "Required<br>(exactly 1)"
d: "The compressed target of next block"
- n: "→<br>`previousbits`"
t: "string"
p: "Required<br>(exactly 1)"
d: "The compressed target of the current highest block"
- n: "→<br>`height`"
t: "number"
p: "Required<br>(exactly 1)"
@ -347,7 +352,8 @@ Result:
"sigoplimit": 40000,
"sizelimit": 2000000,
"curtime": 1507738818,
"bits": "1d01231e",
"bits": "1c103bdf",
"previousbits": "1c1548b5",
"height": 7967,
"masternode": {
"payee": "yaJc6tADbEjxQBAC69ugWNoTFpzxqkcgWd",

View file

@ -323,7 +323,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
<td class="tg-b7b8">Mining</td>
<td class="tg-b7b8"><a href="#getblocktemplate">GetBlockTemplate</a></td>
<td class="tg-dzk6">Y</td>
<td class="tg-dzk6">Updated in 0.12.3.0</td>
<td class="tg-dzk6">Updated in 0.12.4.0</td>
</tr>
<tr>
<td class="tg-yw4l">Mining</td>