keep cached RBF info for 24 hours after tx leaves the mempool

This commit is contained in:
Mononaut
2022-12-09 14:35:51 -06:00
parent cc628aa443
commit 107cdd22e5
4 changed files with 37 additions and 37 deletions

View File

@@ -236,6 +236,7 @@ class Mempool {
const lazyDeleteAt = this.mempoolCache[tx].deleteAfter;
if (lazyDeleteAt && lazyDeleteAt < now) {
delete this.mempoolCache[tx];
rbfCache.evict(tx);
}
}
}