p2pderivatives / rust-bitcoin-coin-selection

10 stars 5 forks source link

Bug/fix srd eff value #64

Closed yancyribbens closed 2 weeks ago

yancyribbens commented 2 weeks ago

If the UTXO value exceeds i64 max, the effective_value returns None causing the SRD algorithm to exit early. Instead, if effective_value returns None, discard that UTXO and continue.

This PR also contains a refactor to the SRD test module and minor refactor to SRD algo along with a version bump for release.