From b6002b07a36f0d58dc6becd04bfcf78599056b7c Mon Sep 17 00:00:00 2001 From: glozow Date: Fri, 3 Dec 2021 18:00:00 +0000 Subject: MOVEONLY: update_lock_points to txmempool.h --- src/txmempool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/txmempool.h') diff --git a/src/txmempool.h b/src/txmempool.h index f87ecc9cd0..ba1d381a5c 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -312,6 +312,16 @@ public: } }; +struct update_lock_points +{ + explicit update_lock_points(const LockPoints& _lp) : lp(_lp) { } + + void operator() (CTxMemPoolEntry &e) { e.UpdateLockPoints(lp); } + +private: + const LockPoints& lp; +}; + // Multi_index tag names struct descendant_score {}; struct entry_time {}; -- cgit v1.2.3