Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not mutate the reserve as part of the fee balancing process
Everything in the past coin selection (without reserve) was easy to reason about. One could always look at the sum of inputs and compare it with the sum of outputs and changes, and there were some nice properties about this. Having mutable reserve makes it somewhat very confusing because, there's no trace of where the money comes from (turning reserve into changes shouldn't make it disappear).
- Loading branch information
Showing
2 changed files
with
4 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters