Migrate transaction building from `TxBuilder` to `Wallet::create_psbt`
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Read the five listed call sites in src/handlers/offline.rs, src/handlers/dns/mod.rs, and src/handlers/payjoin/mod.rs, then review the bdk_wallet 3.2.0 Wallet::create_psbt and replace_by_fee APIs. Run just pre-push to identify signing, deprecation, and feature-configuration failures; done means all transaction paths use the new APIs and the checks pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The plan is to transition bdk_wallet to depreciate TxBuilder and use bdk_tx via Wallet::create_psbt (see https://github.com/bitcoindevkit/bdk_wallet/pull/516). So I'd suggest adding the check to bdk-tx and updating bdk-cli to enable the Wallet::create_psbt experimental feature and using it. But that all will need to be done in new PRs.
Originally posted by @notmandatory in https://github.com/bitcoindevkit/bdk-cli/issues/326#issuecomment-5799371337
This issue is about moving bdk-cli to Wallet::create_psbt from bdk_wallet 3.2.0. The tx size check discussed in the same thread is out of scope here.
bdk-cli is on bdk_wallet 3.1.0 and builds every transaction with TxBuilder. Wallet::create_psbt is available in 3.2.0, behind the bdk-tx feature and the --cfg bdk_wallet_unstable rustflag.
Call sites to migrate:
CreateTxCommandinsrc/handlers/offline.rsCreateSpTxCommandinsrc/handlers/offline.rsBumpFeeCommandinsrc/handlers/offline.rs, the only one usingbuild_fee_bumpCreateDnsTxCommandinsrc/handlers/dns/mod.rsPayjoinManager::send_payjoininsrc/handlers/payjoin/mod.rs
Notes:
Wallet::replace_by_feeis the counterpart forbump_fee.- The bump also hits deprecations outside tx building, which
-D warningsin CI turns into blockers:Wallet::sign,Wallet::get_signers,Wallet::policies,TxBuilder::policy_pathandLoadParams::extract_keys. - The bump alone already breaks
just pre-push: every test that signs a PSBT fails withSigner error: Missing non-witness UTXO, to be sorted out as part of this work.
- Ngôn ngữ chính
- Rust
- Star
- 142
- Fork
- 99
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bitcoindevkit/bdk-cli
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bitcoindevkit/bdk-cli#332 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bitcoindevkit/bdk-cli#330 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Crate chacha20 0.10.1 is yankedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bitcoindevkit/bdk-cli#318 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add testable example playbookĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
bitcoindevkit/bdk-cli#333 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SOCKS5 proxy options are parsed, persisted, then silently ignored — wallet traffic goes direct despite --proxyCó thể đã có người làm @tvpeter đã nhận 8 ngày trước. Đang mởbug
bitcoindevkit/bdk-cli#328 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bitcoindevkit/bdk-cli
Issue tương tự
-
area:cli bug good first issue priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rtk-ai/rtk#4249 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ActivityWatch/activitywatch#1463 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày