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

Sqlite: check anchor to tx foreign key constraint #1712

Open
notmandatory opened this issue Nov 14, 2024 · 0 comments
Open

Sqlite: check anchor to tx foreign key constraint #1712

notmandatory opened this issue Nov 14, 2024 · 0 comments
Labels
audit Suggested as result of external code audit module-database
Milestone

Comments

@notmandatory
Copy link
Member

"In the SQLite persistence the foreign key constraint from anchor to transactions is not checked. Adding an anchor for a non-existing transaction will prevent persisting the wallet."

@notmandatory notmandatory added audit Suggested as result of external code audit module-database labels Nov 14, 2024
@notmandatory notmandatory added this to BDK Nov 14, 2024
@notmandatory notmandatory moved this to Todo in BDK Nov 14, 2024
@notmandatory notmandatory added this to the 1.0.0-beta milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit Suggested as result of external code audit module-database
Projects
Status: Todo
Development

No branches or pull requests

1 participant