Return the number of blocks until a coinbase transaction matures.
Declared in <wallet/wallet.h>
[[requires_capability(0x7f94fde04868), requires_capability(0x7f95061a75a8), requires_capability(0x7f94f2b780b8), requires_capability(0x7f94f0cf6d48), requires_capability(0x7f94fee39738)]]
int
GetTxBlocksToMaturity(CWalletTx const& wtx) const;
number of blocks to maturity for this transaction: 0 : is not a coinbase transaction, or is a mature coinbase transaction >0 : is a coinbase transaction which matures in this many blocks
| Name | Description |
|---|---|
| wtx | the wallet transaction to check |