[#CTxMemPool-Expire] = xref:CTxMemPool.adoc[CTxMemPool]::Expire :relfileprefix: ../ :mrdocs: Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37b420ae8), requires_capability(0x7ff376fd8498), requires_capability(0x7ff38def76b8), requires_capability(0x7ff3640f86c8), requires_capability(0x7ff3920f89b8), requires_capability(0x7ff37f5caad8), requires_capability(0x7ff37d011d58), requires_capability(0x7ff374c15568)]] int Expire(std::chrono::seconds time); ---- == Return Value The number of removed transactions. == Parameters [cols="1,4"] |=== | Name| Description | *time* | Transactions that entered the mempool before this time are expired. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#