[#kernel-MemPoolOptions-expiry]
= xref:kernel.adoc[kernel]::xref:kernel/MemPoolOptions.adoc[MemPoolOptions]::expiry
:relfileprefix: ../../
:mrdocs:

How long a transaction may stay in the mempool before it expires&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::chrono::seconds expiry = &lcub;std&colon;&colon;chrono&colon;&colon;hours&lcub;DEFAULT&lowbar;MEMPOOL&lowbar;EXPIRY&lowbar;HOURS&rcub;&rcub;;
----


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