Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.
Declared in <txmempool.h>
[[requires_capability(0x7f2e1b5a3118), requires_capability(0x7f2e2721c128), requires_capability(0x7f2e421cd838), requires_capability(0x7f2e2880c7f8), requires_capability(0x7f2e3212fb88), requires_capability(0x7f2e347f8218), requires_capability(0x7f2e2b05c688), requires_capability(0x7f2e2bee3d28)]]
int
Expire(std::chrono::seconds time);
The number of removed transactions.
| Name | Description |
|---|---|
| time | Transactions that entered the mempool before this time are expired. |