[#IsRBFOptIn] = IsRBFOptIn :mrdocs: 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. == Synopsis Declared in `<policy/rbf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3130ebe0)]] xref:RBFTransactionState.adoc[RBFTransactionState] IsRBFOptIn( xref:CTransaction.adoc[CTransaction] const& tx, xref:CTxMemPool.adoc[CTxMemPool] const& pool); ---- == Return Value The rbf state == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The unconfirmed transaction | *pool* | The mempool, which may contain the tx |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#