Go to the source code of this file.
◆ RBFTransactionState
The rbf state of unconfirmed transactions.
Enumerator |
---|
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.
|
Definition at line 11 of file rbf.h.
◆ IsRBFOptIn()
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.
- Parameters
-
tx | The unconfirmed transaction |
pool | The mempool, which may contain the tx |
- Returns
- The rbf state
Definition at line 8 of file rbf.cpp.
◆ IsRBFOptInEmptyMempool()