[#RBFTransactionState]
= RBFTransactionState
:mrdocs:

The rbf state of unconfirmed transactions

== Synopsis

Declared in `&lt;policy&sol;rbf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class RBFTransactionState : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `UNKNOWN` 
| Unconfirmed tx that does not signal rbf and is not in the mempool
| `REPLACEABLE&lowbar;BIP125` 
| Either this tx or a mempool ancestor signals rbf
| `FINAL` 
| Neither this tx nor a mempool ancestor signals rbf
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:IsRBFOptIn.adoc[`IsRBFOptIn`]
| Determine whether an unconfirmed transaction is signaling opt&hyphen;in to RBF according to BIP 125 This involves checking sequence numbers of the transaction, as well as the sequence numbers of all in&hyphen;mempool ancestors&period;
| xref:IsRBFOptInEmptyMempool.adoc[`IsRBFOptInEmptyMempool`]
| Determine the RBF signaling state of a transaction assuming an empty mempool&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
