Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.
Declared in <txmempool.h>
[[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);
The number of removed transactions.
| Name | Description |
|---|---|
| time | Transactions that entered the mempool before this time are expired. |