Skip to content

Conversation

@ValuedMammal
Copy link
Collaborator

This is a hotfix intended to address #8. The approach is to have an additional SELECT query to check for existing rows of a given height before executing the actual INSERT statement. A better long-term solution which may be done as a follow-up is to enforce a unique block height per row directly at the schema level.

@ValuedMammal ValuedMammal merged commit aa55b04 into bitcoindevkit:master Dec 31, 2025
3 checks passed
@ValuedMammal ValuedMammal deleted the fix/dedup_block_height branch December 31, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant