WIP: Update bdk_wallet to 3.0.0#16
Merged
ValuedMammal merged 4 commits intobitcoindevkit:masterfrom Apr 13, 2026
Merged
Conversation
- bdk_chain 0.23.2 -> 0.23.3 - (dev) bdk_esplora 0.22.1 -> 0.22.2
`0003_schema.up.sql` adds a table for locked outpoints. This will be needed to update `bdk_wallet` to v3.0.0.
deps: Update `bdk_wallet` to 3.0.0
24ba682 to
15d60f2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates
bdk_walletfrom 2.3.0 to 3.0.0, along with companion bumps tobdk_chain(0.23.2 → 0.23.3) andbdk_esploradev dependency (0.22.1 → 0.22.2).bdk_wallet3.0.0 adds alocked_outpointsfield toChangeSet, representing the persisted state of UTXO locks. This PR adds support for reading and writing that state:0003_schema.up.sqlwhich creates thelocked_outpoint(txid, vout)tablewrite_locked_outpoints/read_locked_outpointsonStore, wired into the existingwrite_changeset/read_changesetmethodsNotes to the reviewers
The
write_locked_outpointsimplementation uses thelocked_outpoints::ChangeSetsemantics directly: atruevalue inserts the row (INSERT OR IGNORE), and afalsevalue deletes it. On read, all rows in the table are returned as locked (true) (an absent row means unlocked).Changelog notice
Added
0003_schema.up.sql: addlocked_outpointtable for persisting UTXO lock stateChanged
bdk_chain0.23.2 → 0.23.3bdk_wallet2.3.0 → 3.0.0bdk_esplora(dev) 0.22.1 → 0.22.2