Skip to content

WIP: Update bdk_wallet to 3.0.0#16

Merged
ValuedMammal merged 4 commits intobitcoindevkit:masterfrom
ValuedMammal:deps/wallet_3_0_0
Apr 13, 2026
Merged

WIP: Update bdk_wallet to 3.0.0#16
ValuedMammal merged 4 commits intobitcoindevkit:masterfrom
ValuedMammal:deps/wallet_3_0_0

Conversation

@ValuedMammal
Copy link
Copy Markdown
Collaborator

@ValuedMammal ValuedMammal commented Mar 18, 2026

Description

Updates bdk_wallet from 2.3.0 to 3.0.0, along with companion bumps to bdk_chain (0.23.2 → 0.23.3) and bdk_esplora dev dependency (0.22.1 → 0.22.2).

bdk_wallet 3.0.0 adds a locked_outpoints field to ChangeSet, representing the persisted state of UTXO locks. This PR adds support for reading and writing that state:

  • Adds migration 0003_schema.up.sql which creates the locked_outpoint(txid, vout) table
  • Adds write_locked_outpoints / read_locked_outpoints on Store, wired into the existing write_changeset / read_changeset methods

Notes to the reviewers

The write_locked_outpoints implementation uses the locked_outpoints::ChangeSet semantics directly: a true value inserts the row (INSERT OR IGNORE), and a false value deletes it. On read, all rows in the table are returned as locked (true) (an absent row means unlocked).

Changelog notice

Added

  • Migration 0003_schema.up.sql: add locked_outpoint table for persisting UTXO lock state

Changed

  • Bump bdk_chain 0.23.2 → 0.23.3
  • Bump bdk_wallet 2.3.0 → 3.0.0
  • Bump bdk_esplora (dev) 0.22.1 → 0.22.2

- 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.
@ValuedMammal ValuedMammal marked this pull request as ready for review April 13, 2026 13:20
@ValuedMammal ValuedMammal merged commit 4b99549 into bitcoindevkit:master Apr 13, 2026
3 checks passed
@ValuedMammal ValuedMammal deleted the deps/wallet_3_0_0 branch April 13, 2026 13:22
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