[amount] Extend GetFee() by optional flag ceil#7660
[amount] Extend GetFee() by optional flag ceil#7660maflcko wants to merge 1 commit intobitcoin:masterfrom
Conversation
* This flag causes rounding up to the next satoshi instead of just truncating (default behavior) * This reverts the hard-to-read and buggy code introduced in d88af56
|
@morcos suggested an alternative would be to use |
|
I don't know what is the expected usage, but wouldn't it be simpler to just add a CFeeRate::GetFeeSatoshis(size) method ? EDIT: |
|
Closing this per IRC discussion. |
truncating (default behavior)
d88af56 (Fee fixes #4465)
masterhappily produces the following results: