-- calculate_remaining_needed -- generates first calculation of change magnitude. If dust is not swept into a grace input, then this value should hold for the final transaction.
-- sweep_dust_into_grace -- adds logic for matching the grace input to the single inputs pool.
TODO: Handle the case of a single input per pool. I will likely get to this tomorrow.
@Oscar-Pepper these changes evolved from my review of your fixes. I strongly agree that this needs more test!
Add fns:
-- calculate_remaining_needed -- sweep_dust_into_grace
These are more than simple helpers.
-- calculate_remaining_needed -- generates first calculation of change magnitude. If dust is not swept into a grace input, then this value should hold for the final transaction. -- sweep_dust_into_grace -- adds logic for matching the grace input to the single inputs pool.
TODO: Handle the case of a single input per pool. I will likely get to this tomorrow.
Supersedes #1186