CTxMemPool::Expire

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

Synopsis

Declared in <txmempool.h>

int
Expire(std::chrono::seconds time);

Return Value

The number of removed transactions.

Parameters

NameDescription
timeTransactions that entered the mempool before this time are expired.