Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude pending UTXOs from coin selection API #185

Closed
Voxelot opened this issue Feb 23, 2022 · 0 comments · Fixed by #237
Closed

Exclude pending UTXOs from coin selection API #185

Voxelot opened this issue Feb 23, 2022 · 0 comments · Fixed by #237
Assignees

Comments

@Voxelot
Copy link
Member

Voxelot commented Feb 23, 2022

To ensure optimal concurrency, when performing coin selection (coins_to_spend) we should filter out any unspent but pending utxos from the txpool. This way users can submit multiple transactions at once without conflicting inputs.

We'll also need the ability to provide a list of utxo ids to exclude from the search. This would allow the wallet to track pending utxos which might not have been synced to the local txpool yet.

@adlerjohn adlerjohn moved this to Todo in Fuel Network Feb 24, 2022
@Voxelot Voxelot added this to the PoA Testnet milestone Feb 25, 2022
@AlicanC AlicanC self-assigned this Mar 21, 2022
@AlicanC AlicanC moved this from Todo to In Progress in Fuel Network Mar 21, 2022
@adlerjohn adlerjohn linked a pull request Mar 27, 2022 that will close this issue
@AlicanC AlicanC moved this from In Progress to Review in Fuel Network Apr 4, 2022
Repository owner moved this from Review to Done in Fuel Network Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants