You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/txmempool.h
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -95,9 +95,9 @@ class CTxMemPoolEntry
95
95
const CTransactionRef tx;
96
96
mutable Parents m_parents;
97
97
mutable Children m_children;
98
-
CAmount nFee; //!< Value in reference unit, computed using configured exchange rates. It is not a `const` because it needs to be updated whenever exchange rates change.
98
+
constCAmount nFee; //!< Cached to avoid expensive parent-transaction lookups
99
99
const CAsset nFeeAsset; //!< ELEMENTS: The asset used for fee payment. Always equal to policyAsset unless con_any_asset_fees is enabled.
100
-
constCAmount nFeeAmount; //!< ELEMENTS: The amount of nFeeAsset used for fee payment. Always equal to nFee unless con_any_asset_fees is enabled.
100
+
CAmount nFeeValue; //!< ELEMENTS: Value in reference unit, computed using configured exchange rates. It is not a `const` because it needs to be updated whenever exchange rates change.
101
101
constsize_t nTxWeight; //!< ... and avoid recomputing tx weight (also used for GetTxSize())
102
102
constsize_t nUsageSize; //!< ... and total memory usage
103
103
constint64_t nTime; //!< Local time when entering the mempool
0 commit comments