]> Untitled Git - bdk/commit
deps(bdk): bump `bitcoin` to `0.32.0`, miniscript to `12.0.0`
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Wed, 22 May 2024 21:34:30 +0000 (18:34 -0300)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Wed, 12 Jun 2024 13:31:50 +0000 (10:31 -0300)
commit2a4564097bd70905ed9fa21b92cdf074a72f878e
treebbfd92f31897db38078c7c2f1cba4720780abd40
parent473ef9714f642ee2ad393541763881cf69132262
deps(bdk): bump `bitcoin` to `0.32.0`, miniscript to `12.0.0`

deps(chain): bump `bitcoin` to `0.32.0`, miniscript to `12.0.0`

fix(chain): use `minimal_non_dust()` instead of `dust_value()`

fix(chain): use `compute_txid()` instead of `txid`

deps(testenv): bump `electrsd` to `0.28.0`

deps(electrum): bump `electrum-client` to `0.20.0`

fix(electrum): use `compute_txid()` instead of `txid`

deps(esplora): bump `esplora-client` to `0.8.0`

deps(bitcoind_rpc): bump `bitcoin` to `0.32.0`, `bitcoincore-rpc` to
`0.19.0`

fix(bitcoind_rpc): use `compute_txid()` instead of `txid`

fix(nursery/tmp_plan): use proper `sighash` errors, and fix the expected
`Signature` fields

fix(sqlite): use `compute_txid()` instead of `txid`

deps(hwi): bump `hwi` to `0.9.0`

deps(wallet): bump `bitcoin` to `0.32.0`, miniscript to `12.0.0`

fix(wallet): use `compute_txid()` and `minimal_non_dust()`

- update to use `compute_txid()` instead of deprecated `txid()`
- update to use `minimal_non_dust()` instead of `dust_value()`
- remove unused `bitcoin::hex::FromHex`.

fix(wallet): uses `.into` conversion on `Network` for `NetworkKind`

- uses `.into()` when appropriate, otherwise use the explicit
  `NetworkKind`, and it's `.is_mainnet()` method.

fix(wallet): add P2wpkh, Taproot, InputsIndex errors to `SignerError`

fix(wallet): fields on taproot, and ecdsa `Signature` structure

fix(wallet/wallet): convert `Weight` to `usize` for now

- converts the `bitcoin-units::Weight` type to `usize` with help of
  `to_wu()` method.
- it should be updated/refactored in the future to handle the `Weight`
  type throughout the code instead of current `usize`, only converting
  it for now.
- allows the usage of deprecated `is_provably_unspendable()`, needs
  further discussion if suggested `is_op_return` is suitable.
- update the expect field to `signature`, as it was renamed from `sig`.

fix(wallet/wallet): use `is_op_return` instead of
`is_provably_unspendable`

fix(wallet/wallet): use `relative::Locktime` instead of `Sequence`

fix(wallet/descriptor): use `ParsePublicKeyError`

fix(wallet/descriptor): use `.into()` to convert from `AbsLockTime` and
`RelLockTime` to `absolute::LockTime` and `relative::LockTime`

fix(wallet/wallet): use `Message::from_digest()` instead of relying on
deprecated `ThirtyTwoByteHash` trait.

fix(wallet/descriptor+wallet): expect `Threshold` type, and handle it
internally

fix(wallet/wallet): remove `0x` prefix from expected `TxId` display

fix(examples): use `compute_txid()` instead of `txid`

fix(ci): remove usage of `bitcoin/no-std` feature

- remove comment: `# The `no-std` feature it's implied when the `std` feature is disabled.`
41 files changed:
.github/workflows/cont_integration.yml
crates/bitcoind_rpc/Cargo.toml
crates/bitcoind_rpc/tests/test_emitter.rs
crates/chain/Cargo.toml
crates/chain/src/descriptor_ext.rs
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/keychain/txout_index.rs
crates/chain/src/spk_txout_index.rs
crates/chain/src/tx_data_traits.rs
crates/chain/src/tx_graph.rs
crates/chain/tests/common/tx_template.rs
crates/chain/tests/test_indexed_tx_graph.rs
crates/chain/tests/test_spk_txout_index.rs
crates/chain/tests/test_tx_graph.rs
crates/electrum/Cargo.toml
crates/electrum/src/bdk_electrum_client.rs
crates/esplora/Cargo.toml
crates/hwi/Cargo.toml
crates/sqlite/src/store.rs
crates/testenv/Cargo.toml
crates/wallet/Cargo.toml
crates/wallet/src/descriptor/dsl.rs
crates/wallet/src/descriptor/error.rs
crates/wallet/src/descriptor/mod.rs
crates/wallet/src/descriptor/policy.rs
crates/wallet/src/descriptor/template.rs
crates/wallet/src/keys/mod.rs
crates/wallet/src/wallet/coin_selection.rs
crates/wallet/src/wallet/export.rs
crates/wallet/src/wallet/mod.rs
crates/wallet/src/wallet/signer.rs
crates/wallet/src/wallet/tx_builder.rs
crates/wallet/src/wallet/utils.rs
crates/wallet/tests/common.rs
crates/wallet/tests/wallet.rs
example-crates/example_cli/src/lib.rs
example-crates/wallet_electrum/src/main.rs
example-crates/wallet_esplora_async/src/main.rs
example-crates/wallet_esplora_blocking/src/main.rs
nursery/tmp_plan/src/plan_impls.rs
nursery/tmp_plan/src/requirements.rs