-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: update bdk-cli
to use bdk_wallet
v1
#174
Draft
tvpeter
wants to merge
9
commits into
bitcoindevkit:master
Choose a base branch
from
tvpeter:feat/bdk-wallet-v1-update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+1,875
−971
Conversation
This file contains 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
add bdk_wallet to Cargo.toml * the bdk crate is still in using because of the error enum, which will be removed after feedback [Ticket: X]
-update imports from bdk to use bdk_wallet - set `enable_rbf` command option to be `true` by default - add `parse_address` fn to parse address from string - replace `ExtendedPrivateKey` with `Xpriv` from bdk_wallet - update derving address from string to use `assumed_check` [Ticket: X]
- replace `list_transactions` method with `transactions` - format `recipients` to be a vec of `ScriptBuf` and `Amount` - update creating and serializing `Psbt`s - update `fee_rate` method and default to `FeeRate::BROADCAST_MIN` - replace `allow_shrinking` method with `drain_to` method - update `handle_offline_wallet_subcommands` to use `PersistedWallet<D>` instead of `Wallet<D>` [Ticket: X]
- update imports from bdk to bdk_wallet - fix compilation warnings [Ticket: X]
- add `parse_address` method - remove `key-value-db` feature as it uses `sled` - update `open_database` fn to return rusqlite::Connection - update `new_wallet` fn to return `PersistedWallet<Connection>` [Ticket: X]
- Replace `bdk` with `bdk_wallet` v1 in Cargo.toml - replace removed features in bdk features/mods with crates [Ticket: X]
-add error enum for handling errors [Ticket: X]
6653428
to
c7bd335
Compare
- replace bdk::error with custom error enum - update imports and handling of errors [Ticket: X]
c7bd335
to
50233dd
Compare
- update deps imports - refactor reserves feature [Ticket: X]
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
This PR update
bdk-cli
to usebdk_wallet
v1Issue: #172 (comment)
Notes to the reviewers
list_transactions
withtransactions
enable_rbf
to betrue
by defaultnew_wallet
to returnPersistedWallet<Connection>
zeroize
to version1.8.1
from<1.4.0
bdk-reserves
from0.27.1
to0.29.0
bdk/electrum
withbdk_electrum
for theelectrum
featurebdk_esplora
for thebdk/use-esplora-ureq
andbdk/use-esplora-reqwest
featuresbdk_bitcoind_rpc
lib to replacebdk/rpc
featurehwi
library to replacebdk/hardware-signer
featureChangelog notice
enable_rbf
to betrue
by defaultPartiallySignedTransaction
toPsbt
zeroize
to version1.8.1
from<1.4.0
bdk-reserves
from0.27.1
to0.29.0
bdk/electrum
withbdk_electrum
for theelectrum
featurebdk/use-esplora-ureq
andbdk/use-esplora-reqwest
withbdk_esplora
libbdk/rpc
withbdk_bitcoind_rpc
libbdk/hardware-signer
withhwi
libChecklists
All Submissions:
cargo fmt
andcargo clippy
before committingBugfixes: