]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1989: chore(bdk-electrum): use new `batch_transaction_get_mer...
authormerge-script <oleonardolima@users.noreply.github.com>
Mon, 4 Aug 2025 16:11:13 +0000 (13:11 -0300)
committermerge-script <oleonardolima@users.noreply.github.com>
Mon, 4 Aug 2025 16:11:13 +0000 (13:11 -0300)
b663940ac3c81f57589f13bcc49dc1f8b483dc74 chore(bdk-electrum): use new `batch_transaction_get_merkle` API (Leonardo Lima)

Pull request description:

  fixes #1987
  depends on https://github.com/bitcoindevkit/rust-electrum-client/pull/170

  ### Description

  - update `batch_fetch_anchors` to use `batch_transaction_get_merkle` method instead of manually creating the batch call.

  ### Changelog notice

  ```md
  ### Changes
  - Use new `batch_transaction_get_merkle` method instead of batch raw calls
  ```

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo +nightly fmt` and `cargo clippy` before committing

ACKs for top commit:
  ValuedMammal:
    ACK b663940ac3c81f57589f13bcc49dc1f8b483dc74
  LagginTimes:
    ACK b663940ac3c81f57589f13bcc49dc1f8b483dc74

Tree-SHA512: 8c08bcaf99bb65098015995eae67c710fbe2f8e76d47796aebbfba1c5a1c78174023be3cb21299e4c820d156110742c9e85819c253dcf9bc3e1fa1621ca35378

1  2 
crates/electrum/src/bdk_electrum_client.rs