-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3157: Parameterize UTxO identifier type in internal coin selection modules. r=Anviking a=jonathanknowles ## Issue Number ADP-1478 ## Summary This PR parameterizes the UTxO identifier type in all modules within the `CoinSelection.Internal` hierarchy. As before, we use the type parameter `u` to represent the type of unique identifiers for individual UTxOs (unspent transaction outputs). In general, callers of coin selection can instantiate `u` to any type for which there is an `Ord` instance. ## Not tackled by this PR A future PR will update the test suite to use a more general type of UTxO identifier. For now, we continue to generate arbitrary values of `(TxIn, Address)` to act as UTxO identifiers. Co-authored-by: Jonathan Knowles <[email protected]>
- Loading branch information
Showing
11 changed files
with
297 additions
and
345 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
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
Oops, something went wrong.