RBFTransactionState

The rbf state of unconfirmed transactions

Synopsis

Declared in <policy/rbf.h>

enum class RBFTransactionState : int;

Members

NameDescription
UNKNOWN Unconfirmed tx that does not signal rbf and is not in the mempool
REPLACEABLE_BIP125 Either this tx or a mempool ancestor signals rbf
FINAL Neither this tx nor a mempool ancestor signals rbf

Non-Member Functions

NameDescription
IsRBFOptInDetermine 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.
IsRBFOptInEmptyMempoolDetermine the RBF signaling state of a transaction assuming an empty mempool.