Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.
Declared in <txmempool.h>
[[requires_capability(0x7fbc8f684bf8), requires_capability(0x7fbc95d46958), requires_capability(0x7fbca708c618), requires_capability(0x7fbc86274eb8), requires_capability(0x7fbca7899598), requires_capability(0x7fbc84ababe8), requires_capability(0x7fbc870fa0e8), requires_capability(0x7fbc921e19a8)]]
int
Expire(std::chrono::seconds time);
The number of removed transactions.
| Name | Description |
|---|---|
| time | Transactions that entered the mempool before this time are expired. |