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

Name

Description

time

Transactions that entered the mempool before this time are expired.

Created with MrDocs