@@ -171,7 +171,9 @@ be confirmed within a certain number of blocks.
171
171
*mode *
172
172
173
173
A string to pass to the bitcoind *estimatesmartfee * RPC as the
174
- *estimate_mode * parameter. Optional.
174
+ *estimate_mode * parameter. Optional. If omitted, the corresponding
175
+ parameter to the bitcoind RPC is also omitted, i.e. the default
176
+ value is determined by bitcoind.
175
177
176
178
**Result **
177
179
@@ -576,7 +578,7 @@ as an input (spends it).
576
578
577
579
**Signature **
578
580
579
- .. function :: blockchain.outpoint.subscribe(tx_hash, txout_idx)
581
+ .. function :: blockchain.outpoint.subscribe(tx_hash, txout_idx, spk_hint=None )
580
582
.. versionadded :: 1.5
581
583
582
584
*tx_hash *
@@ -588,6 +590,12 @@ as an input (spends it).
588
590
589
591
The output index, a non-negative integer. (sometimes called prevout_n, in inputs)
590
592
593
+ *spk_hint *
594
+
595
+ The scriptPubKey (output script) corresponding to the outpoint, as a hexadecimal
596
+ string. This is optional, and if provided might be used by the server to find
597
+ the outpoint. The behaviour is undefined if an incorrect value is provided.
598
+
591
599
**Result **
592
600
593
601
The status of the TXO, taking the mempool into consideration.
@@ -596,7 +604,8 @@ as an input (spends it).
596
604
* *height *
597
605
598
606
The integer height of the block the funding transaction was confirmed in.
599
- ``0 `` if the funding transaction is in the mempool.
607
+ If the funding transaction is in the mempool; the value is
608
+ ``0 `` if all its inputs are confirmed, and ``-1 `` otherwise.
600
609
This key must be present if and only if there exists a funding transaction
601
610
(either in the best chain or in the mempool), regardless of spentness.
602
611
@@ -609,7 +618,8 @@ as an input (spends it).
609
618
* *spender_height *
610
619
611
620
The integer height of the block the spending transaction was confirmed in.
612
- ``0 `` if the spending transaction is in the mempool.
621
+ If the spending transaction is in the mempool; the value is
622
+ ``0 `` if all its inputs are confirmed, and ``-1 `` otherwise.
613
623
This key is present if and only if the *spender_txhash * key is present.
614
624
615
625
0 commit comments