Skip to content

Commit

Permalink
Add justification for RFU to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JBetz committed Apr 25, 2024
1 parent 5ca1382 commit 98c1081
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/policy/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@

#include <cstdint>

/** Amount denominated in the node's RFU (reference fee unit) */
/** ELEMENTS: Amount denominated in the node's RFU (reference fee unit). Used only
* when con_any_asset_fees is enabled in order to distinguish from amounts in an
* actual asset. RFU is needed to make amounts comparable when sorting transactions
* in the mempool, as well as for fee estimation and subsequent validation of those
* fees according to various limits (e.g., mintxfee, paytsxfee, blockmintxfee,
* incrementalrelaytxfee, etc.).
*/
struct CValue
{
int64_t value;
Expand Down

0 comments on commit 98c1081

Please sign in to comment.