mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
This comment described how the constructor of CFeeRate was previously indirectly used to parse fee rate arguments from RPCs. The command line input was actually in sat/vB but due to the use of AmountFromValue() it got converted to BTC/vB. In the constructor this could be rectified by creating a CFeeRate from that given value (in BTC/vB) and COIN as the transaction size, turning the input effectively to sat/vB. Since this usage pattern was removed from the codebase some months ago, the comment is now obsolete. Also: • Use vsize and vbyte instead of size and byte |
||
|---|---|---|
| .. | ||
| feerate.cpp | ||
| feerate.h | ||
| fees.cpp | ||
| fees.h | ||
| packages.cpp | ||
| packages.h | ||
| policy.cpp | ||
| policy.h | ||
| rbf.cpp | ||
| rbf.h | ||
| settings.cpp | ||
| settings.h | ||