Merge remote-tracking branch 'origin/listsinceblock'

This commit is contained in:
David A. Harding 2014-06-29 13:27:23 -04:00
commit 51fedbeecf
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7

View file

@ -565,13 +565,14 @@ Result (truncated after first entry):
#### listsinceblock #### listsinceblock
~~~ ~~~
listsinceblock [block hash] [confirmations] listsinceblock [block hash] [block depth]
~~~ ~~~
{% autocrossref %} {% autocrossref %}
Get all transactions affecting addresses in the wallet Get all transactions affecting addresses in the wallet
which have occurred since a particular block. which have occurred since a particular block,
plus the header hash of a block at a particular depth.
{% endautocrossref %} {% endautocrossref %}
@ -586,12 +587,16 @@ block will be listed.
{% endautocrossref %} {% endautocrossref %}
**Argument #2: Minimum Number Of Confirmations** **Argument #2: Block Depth For Header Hash**
{% autocrossref %} {% autocrossref %}
*Number; optional:* the minimum number of confirmations an incoming *Number; optional:* return the hash of a block header at a particular
transaction must have before it is displayed. Default is 1. depth. The default is 1, which will return the most recent block header
hash (the same result as the `getbestblockhash` RPC).
Note: this argument does not affect which transactions are returned; it
only changes the `lastblock` value in the returned data.
{% endautocrossref %} {% endautocrossref %}
@ -611,8 +616,9 @@ number indicating what number it was in the block (counting from one),
the *txid*, the *time* and *timereceived* of the transaction, plus a the *txid*, the *time* and *timereceived* of the transaction, plus a
*comment* and *to* (label) for the transaction, if set. *comment* and *to* (label) for the transaction, if set.
Outside of the array, a *lastblock* value stores the last block hash Outside of the array, the *lastblock* value stores the header hash of
used in the data set. a block at the depth indicated by the second argument, the most recent
block by default.
{% endautocrossref %} {% endautocrossref %}
@ -642,8 +648,8 @@ used in the data set.
{% autocrossref %} {% autocrossref %}
Get all transactions with at least six confirmations since a Get all transactions since a particular block and the header hash of the
particular block: sixth most recent block.
{% endautocrossref %} {% endautocrossref %}