Expire all transaction (and their dependencies) in the mempool older than time. Return the number of removed transactions.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fb95f556c48), requires_capability(0x7fb968bc8358), requires_capability(0x7fb95fdd2198), requires_capability(0x7fb978b77558), requires_capability(0x7fb96b8fcab8), requires_capability(0x7fb96e5c3588), requires_capability(0x7fb97a07d5b8), requires_capability(0x7fb96be45308)]]
int
Expire(std::chrono::seconds time);

Return Value

The number of removed transactions.

Parameters

Name

Description

time

Transactions that entered the mempool before this time are expired.

Created with MrDocs