MOVEONLY: update_lock_points to txmempool.h

This commit is contained in:
glozow committed 2021-12-06 15:29:59 +00:00
1 parent d20d6ac545
commit b6002b07a3
2 files changed
+10 -10

No files matched your search

-10
View File
@@ -64,16 +64,6 @@ private:
int64_t feeDelta;
};
struct update_lock_points
{
explicit update_lock_points(const LockPoints& _lp) : lp(_lp) { }
void operator() (CTxMemPoolEntry &e) { e.UpdateLockPoints(lp); }
private:
const LockPoints& lp;
};
bool TestLockPointValidity(CChain& active_chain, const LockPoints& lp)
{
AssertLockHeld(cs_main);
+10
View File
@@ -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 {};