RPC - Update listsinceblock

- Example updated with chainlock param
 - Removed bip125-replaceable param
This commit is contained in:
thephez 2019-04-08 11:00:13 -04:00
parent b09853cf92
commit 794a4f97e1
No known key found for this signature in database
GPG key ID: BBC8A06DBE236099
4 changed files with 28 additions and 38 deletions

View file

@ -305,7 +305,7 @@ default.
* [ListLockUnspent][rpc listlockunspent]: {{summary_listLockUnspent}}
* [ListReceivedByAccount][rpc listreceivedbyaccount]: {{summary_listReceivedByAccount}} {{DASH_UPDATED0_13_0}} {{DEPRECATED}}
* [ListReceivedByAddress][rpc listreceivedbyaddress]: {{summary_listReceivedByAddress}} {{DASH_UPDATED0_13_0}}
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}}
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}} {{DASH_UPDATED0_14_0}}
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{DASH_UPDATED0_14_0}}
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}

View file

@ -71,7 +71,7 @@ The `listsinceblock` RPC {{summary_listSinceBlock}}
{% enditemplate %}
*Example from Dash Core 0.12.2*
*Example from Dash Core 0.14.0*
Get all transactions since a particular block (including watch-only
transactions) and the header hash of the sixth most recent block.
@ -89,48 +89,43 @@ Result (edited to show only two payments):
"transactions": [
{
"account": "",
"address": "yfCjqf9F7oNGD1sRqta2rNpCXSQ9dknDf5",
"address": "yLXe1NwXmhZbtM6drTXbWFvtEqpsJZkKd2",
"category": "send",
"amount": -0.01000010,
"vout": 7,
"fee": 0.05000050,
"confirmations": 95,
"instantlock": false,
"blockhash": "0000000002aa705754c6ab4e15cf2183a1d174e61c080f64eb469c458669144b",
"blockindex": 1,
"blocktime": 1511972930,
"txid": "52e34eec71a4cf95c043b76567f55cec1bc293c444810d454a2d05f2a819b5ed",
"amount": -1.00000000,
"label": "Receiving",
"vout": 0,
"fee": -0.00000226,
"confirmations": 0,
"instantlock": true,
"chainlock": false,
"trusted": true,
"txid": "cc2e6c49faae395d79cfc91d188881e479f544c220e4dfee016889cd53b32645",
"walletconflicts": [
],
"time": 1511972930,
"timereceived": 1511974218,
"bip125-replaceable": "no",
"time": 1554734925,
"timereceived": 1554734925,
"abandoned": false
},
{
"account": "",
"address": "yi2U4Cx2QH33LdNwk2c2oLABWzEZWhYU9k",
"category": "send",
"amount": -0.01000010,
"vout": 8,
"fee": 0.05000050,
"confirmations": 95,
"instantlock": false,
"blockhash": "0000000002aa705754c6ab4e15cf2183a1d174e61c080f64eb469c458669144b",
"blockindex": 1,
"blocktime": 1511972930,
"txid": "52e34eec71a4cf95c043b76567f55cec1bc293c444810d454a2d05f2a819b5ed",
"address": "yLXe1NwXmhZbtM6drTXbWFvtEqpsJZkKd2",
"category": "receive",
"amount": 1.00000000,
"label": "Receiving",
"vout": 0,
"confirmations": 0,
"instantlock": true,
"chainlock": false,
"trusted": true,
"txid": "cc2e6c49faae395d79cfc91d188881e479f544c220e4dfee016889cd53b32645",
"walletconflicts": [
],
"time": 1511972930,
"timereceived": 1511974218,
"bip125-replaceable": "no",
"abandoned": false
"time": 1554734925,
"timereceived": 1554734925
}
],
"lastblock": "000000000dba5583e3fc5c2df06b478e922702f53a1476aac8eb4322f648ccea"
"lastblock": "0000000006be841cd8534b02733d833ad9dd7634ab0897a7e5cd92c574a529a3"
}
{% endhighlight %}
*See also*

View file

@ -103,11 +103,6 @@ http://opensource.org/licenses/MIT.
p: "Required<br>(exactly 1)"
d: "A Unix epoch time when the transaction was detected by the local node, or the time of the block on the local best block chain that included the transaction"
- n: "{{DEPTH}}<br>`bip125-replaceable`"
t: "string"
p: "Required<br>(exactly 1)"
d: "*Added in Bitcoin Core 0.12.0*<br><br>Indicates if a transaction is replaceable under BIP 125:<br>`yes` is replaceable<br>`no` not replaceable<br>`unknown` for unconfirmed transactions not in the mempool"
- n: "{{DEPTH}}<br>`comment`"
t: "string"
p: "Optional<br>(0 or 1)"

View file

@ -767,7 +767,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
<td class="tg-yw4l">Wallet</td>
<td class="tg-yw4l"><a href="#listsinceblock">ListSinceBlock</a></td>
<td class="tg-baqh">Y</td>
<td class="tg-baqh"></td>
<td class="tg-baqh">Updated in 0.14.0</td>
</tr>
<tr>
<td class="tg-b7b8">Wallet</td>