[#MemPoolRemovalReason]
= MemPoolRemovalReason
:mrdocs:

Reason why a transaction was removed from the mempool, this is passed to the notification signal&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;removal&lowbar;reason&period;h&gt;`

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

== Members

[cols="1,4"]
|===
| Name| Description
| `EXPIRY` 
| Expired from mempool
| `SIZELIMIT` 
| Removed in size limiting
| `REORG` 
| Removed for reorganization
| `BLOCK` 
| Removed for block
| `CONFLICT` 
| Removed for conflict with in&hyphen;block transaction
| `REPLACED` 
| Removed for replacement
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:RemovalReasonToString.adoc[`RemovalReasonToString`]
| Convert a mempool removal reason to a human&hyphen;readable string&period;
|===


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