This PR adds an implementation of Coin Grouping to Coin Selection.
I have also added an example to demonstrate how to use the coin-grouping features.
To try it, you will have to manually test it using one of the blockchain clients. Added a command to the CLI that allows you to coingroup following a particular strategy. The only strategy supported right now is Address Reuse. If you run the CLI command with Address Reuse as your grouping strategy. The program will execute coinselection with grouping and without grouping and will show you the waste in each case. Here is command to run for coingrouping
This PR adds an implementation of Coin Grouping to Coin Selection.
I have also added an example to demonstrate how to use the coin-grouping features.
To try it, you will have to manually test it using one of the blockchain clients. Added a command to the CLI that allows you to coingroup following a particular strategy. The only strategy supported right now is Address Reuse. If you run the CLI command with Address Reuse as your grouping strategy. The program will execute coinselection with grouping and without grouping and will show you the waste in each case. Here is command to run for coingrouping