Bitshala-Incubator / rust-coinselect

A blockchain-agnostic coinselection library built in rust.
MIT License
9 stars 17 forks source link

Update FIFO selection to prioritize OutputGroups with None sequence #47

Closed BEULAHEVANJALIN closed 1 month ago

BEULAHEVANJALIN commented 2 months ago

This PR updates the select_coin_fifo function to prioritize OutputGroups that have None as their creation_sequence, treating them as the earliest in the selection process. I've also included updates to the test cases to ensure that this behavior is correctly verified.