Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.
Declared in <txmempool.h>
[[requires_capability(0x7fd7537ba4f8), requires_capability(0x7fd74eec6e88), requires_capability(0x7fd75e7084d8), requires_capability(0x7fd759894ca8), requires_capability(0x7fd75ce06c78), requires_capability(0x7fd759f70108), requires_capability(0x7fd75b830348), requires_capability(0x7fd73e8ae5a8)]]
int
Expire(std::chrono::seconds time);
The number of removed transactions.
| Name | Description |
|---|---|
| time | Transactions that entered the mempool before this time are expired. |