Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.
Declared in <txmempool.h>
[[requires_capability(0x7f95135d31e8), requires_capability(0x7f9501b125c8), requires_capability(0x7f950ec787b8), requires_capability(0x7f9525ea8508), requires_capability(0x7f9515097c48), requires_capability(0x7f950826bee8), requires_capability(0x7f94f856f5f8), requires_capability(0x7f9513c597e8)]]
int
Expire(std::chrono::seconds time);
The number of removed transactions.
| Name | Description |
|---|---|
| time | Transactions that entered the mempool before this time are expired. |