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

[Feature]: Check the input scriptPubKey when fetchingg signers' UTXO #603

Open
1 task
djordon opened this issue Oct 2, 2024 · 0 comments
Open
1 task
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer.

Comments

@djordon
Copy link
Contributor

djordon commented Oct 2, 2024

Feature - Check the input scriptPubKey when fetching signers' UTXO

1. Description

When searching for the signers outstanding UTXO in #538, we need to only include transactions where one of the inputs points to an output matching one of the signers' scriptPubKeys. Anyone can create an output that the signers' control, but we are only interested in transactions that we know the signers have created. This check is necessary because without it, we could fetch a UTXO that the signers have not created.

1.1 Context & Purpose

We need to update the list of criteria in #538 to specify that we are only interested in transactions where a transactions prevout was signed for by the signers.

2. Technical Details:

2.1 Acceptance Criteria:

  • Make sure that the UTXO was created by the signers.

3. Related Issues and Pull Requests (optional):

#538

@djordon djordon added the sbtc bootstrap signer The sBTC Bootstrap Signer. label Oct 2, 2024
@djordon djordon added this to the sBTC Release Ready milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer.
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant