Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | private: | ||||
int64_t modifySize; | int64_t modifySize; | ||||
int64_t modifyBillableSize; | int64_t modifyBillableSize; | ||||
Amount modifyFee; | Amount modifyFee; | ||||
int64_t modifyCount; | int64_t modifyCount; | ||||
int64_t modifySigOpsCost; | int64_t modifySigOpsCost; | ||||
}; | }; | ||||
struct update_fee_delta { | struct update_fee_delta { | ||||
update_fee_delta(Amount _feeDelta) : feeDelta(_feeDelta) {} | explicit update_fee_delta(Amount _feeDelta) : feeDelta(_feeDelta) {} | ||||
void operator()(CTxMemPoolEntry &e) { e.UpdateFeeDelta(feeDelta); } | void operator()(CTxMemPoolEntry &e) { e.UpdateFeeDelta(feeDelta); } | ||||
private: | private: | ||||
Amount feeDelta; | Amount feeDelta; | ||||
}; | }; | ||||
struct update_lock_points { | struct update_lock_points { | ||||
update_lock_points(const LockPoints &_lp) : lp(_lp) {} | explicit update_lock_points(const LockPoints &_lp) : lp(_lp) {} | ||||
void operator()(CTxMemPoolEntry &e) { e.UpdateLockPoints(lp); } | void operator()(CTxMemPoolEntry &e) { e.UpdateLockPoints(lp); } | ||||
private: | private: | ||||
const LockPoints &lp; | const LockPoints &lp; | ||||
}; | }; | ||||
// extracts a transaction hash from CTxMempoolEntry or CTransactionRef | // extracts a transaction hash from CTxMempoolEntry or CTransactionRef | ||||
▲ Show 20 Lines • Show All 697 Lines • Show Last 20 Lines |