Check if transaction will be final in the next block to be created.
Declared in <validation.h>
[[requires_capability(0x7fd753b418b8), requires_capability(0x7fd74da036a8), requires_capability(0x7fd74aa4e5d8), requires_capability(0x7fd7530d8978)]]
bool
CheckFinalTxAtTip(
CBlockIndex const& active_chain_tip,
CTransaction const& tx);
true if the transaction would be final in the next block.
| Name | Description |
|---|---|
| active_chain_tip | Tip of the active chain the next block would build on. |
| tx | The transaction being evaluated. |