Determine whether an unconfirmed transaction is signaling opt-in to RBF according to BIP 125 This involves checking sequence numbers of the transaction, as well as the sequence numbers of all in-mempool ancestors.
Declared in <policy/rbf.h>
[[requires_capability(0x7f2e3130ebe0)]]
RBFTransactionState
IsRBFOptIn(
CTransaction const& tx,
CTxMemPool const& pool);
The rbf state
| Name | Description |
|---|---|
| tx | The unconfirmed transaction |
| pool | The mempool, which may contain the tx |