Summary
bdk_wallet v3.1.0 introduces the sign_with_signers method for Wallet giving callers more control over the signing process by accepting a custom list of SignersContainer, and LoadParams gains a convenient two_path_descriptor method for validating the wallet descriptors loaded from persistence. A SECURITY.md document has been added to the repository with instructions for reporting vulnerabilities. This release also includes several bug fixes and improvements.
What's Changed
- refactor: Delegate
rusqlite::Connectionpersister to transaction persister by @shinigami-777 in #421 - feat(wallet): add
LoadParams::two_path_descriptormethod by @yukibtc in #418 - docs(wallet): fix misleading RBF comment in
create_txby @va-an in #422 - fix(coin_selection):
calculate_cs_resultreturns the required UTXOs first by @ValuedMammal in #390 - chore(tests): replace deprecated FeeRate::from_sat_per_vb_unchecked by @none34829 in #455
- fix(descriptor): correct variable binding names in
l:andu:fragment modifiers by @tnull in #454 - chore: allow local justfile overrides by @Shgit29 in #460
- chore: bump dev version to 3.1.0-alpha.0 by @ValuedMammal in #441
- fix(ci): pin
idna_adapterto1.2.1by @oleonardolima in #466 - fix: always validate non_witness_utxo in add_foreign_utxo by @tnull in #461
- fix: handle MultiXPrv/MultiXPub in network kind detection and fixup by @tnull in #459
- Add
SECURITY.mdby @luisschwab in #437 - fix: avoid panic on hardened derivation paths in PSBT key origins by @tnull in #458
- fix(descriptor): correct index tracking in
combinations()function by @tnull in #453 - fix(audit): add non-witness-utxo validation for psbt by @muhahahmad68 in #471
- fix(types): avoid reachable panics in Utxo::txout for Foreign variant by @muhahahmad68 in #487
- Fix wallet name generation to use explicit public descriptor checksum by @AmosOO7 in #482
- fix(coin_selection): avoid per-utxo fee rounding by @benthecarman in #479
- fix(signer): respect allow_all_sighashes in SignerWrapper::sign_input by @muhahahmad68 in #476
- docs: suggest moving most PR checklist items to contributing guide by @noahjoeris in #492
- feat(wallet): add Wallet::sign_with_signers by @noahjoeris in #490
- Release 3.1.0 by @ValuedMammal in #501
New Contributors
- @shinigami-777 made their first contribution in #421
- @yukibtc made their first contribution in #418
- @va-an made their first contribution in #422
- @none34829 made their first contribution in #455
- @Shgit29 made their first contribution in #460
- @muhahahmad68 made their first contribution in #471
- @benthecarman made their first contribution in #479
- @noahjoeris made their first contribution in #492
Full Changelog: v3.0.0...v3.1.0