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>
[[requires_capability(0x7f2e3130ebe0)]]
RBFTransactionState
IsRBFOptIn(
CTransaction const& tx,
CTxMemPool const& pool);
Return Value
The rbf state
Parameters
Name |
Description |
tx |
The unconfirmed transaction |
pool |
The mempool, which may contain the tx |
Created with MrDocs