Skip to content

Conversation

oleonardolima
Copy link
Contributor

@oleonardolima oleonardolima commented Jul 3, 2025

partially addresses bitcoindevkit/bdk#1987

  • adds the new batch method for blockchain.transaction.get_merkle.
  • adds a new test for batch_transaction_get_merkle with 3 different
    txids and block_heights.

@oleonardolima oleonardolima self-assigned this Jul 3, 2025
@oleonardolima oleonardolima added the new feature New feature or request label Jul 3, 2025
@oleonardolima oleonardolima force-pushed the feat/add-batch-transaction-get-merkle branch from e730dac to 5b6876b Compare July 3, 2025 03:01
@oleonardolima oleonardolima force-pushed the feat/add-batch-transaction-get-merkle branch 3 times, most recently from 46a8817 to 2dfc299 Compare July 4, 2025 18:17
@oleonardolima oleonardolima marked this pull request as ready for review July 4, 2025 18:19
Copy link
Collaborator

@LagginTimes LagginTimes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2dfc299

- adds the new batch method for `blockchain.transaction.get_merkle`.
- adds a new test for `batch_transaction_get_merkle` with 3 different
  txids and block_heights.
@oleonardolima oleonardolima force-pushed the feat/add-batch-transaction-get-merkle branch from 2dfc299 to 74ac97c Compare July 14, 2025 14:09
@ValuedMammal
Copy link
Contributor

ValuedMammal commented Jul 24, 2025

ACK 74ac97c

I tested by patching bdk_electrum to use the new API method.

@oleonardolima oleonardolima moved this to Needs Review in BDK Chain Jul 29, 2025
@notmandatory
Copy link
Member

Based on above ACKs this should be ready to merge.

@ValuedMammal ValuedMammal merged commit dd13e4e into bitcoindevkit:master Jul 29, 2025
6 of 8 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Done in BDK Chain Jul 29, 2025
@oleonardolima oleonardolima deleted the feat/add-batch-transaction-get-merkle branch July 29, 2025 23:36
oleonardolima added a commit to bitcoindevkit/bdk that referenced this pull request Aug 4, 2025
…le` API

b663940 chore(bdk-electrum): use new `batch_transaction_get_merkle` API (Leonardo Lima)

Pull request description:

  fixes #1987
  depends on bitcoindevkit/rust-electrum-client#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 b663940
  LagginTimes:
    ACK b663940

Tree-SHA512: 8c08bcaf99bb65098015995eae67c710fbe2f8e76d47796aebbfba1c5a1c78174023be3cb21299e4c820d156110742c9e85819c253dcf9bc3e1fa1621ca35378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants