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

Check if we have all dependencies for a transaction as a first step on onNewTxRequest #242

Open
andreabadesso opened this issue Jul 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@andreabadesso
Copy link
Collaborator

Currently, we only error if any dependency for a transaction during the sync mechanism is missing when we are updating the utxos as spent (the query will trigger an error because no utxos will be found)

We should do this verification before any query is executed so we don't have to rely on the rollback mechanism

We should also return a specific error message for this type of error so the daemon can handle it properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant