Skip to content

Filter pool_set based on defined constraints#310

Open
nicolasLuduena wants to merge 1 commit intomainfrom
input-resolution-utxo-collapse
Open

Filter pool_set based on defined constraints#310
nicolasLuduena wants to merge 1 commit intomainfrom
input-resolution-utxo-collapse

Conversation

@nicolasLuduena
Copy link
Contributor

This pull request enhances the candidate selection logic in the PendingQuery implementation, making it more flexible and precise by adding new filtering conditions based on address and references.

Improvements to candidate selection logic:

  • Updated the build_candidates method in select/mod.rs to filter UTXOs not only by collateral status, but also by matching address (if specified) and by checking if their references are included in the query's refs set (if specified). This ensures that only UTXOs meeting all relevant criteria are considered as candidates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant