]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#2130: fix(bdk_esplora): use `get_blocks_infos` instead of... master github/master
authormerge-script <oleonardolima@users.noreply.github.com>
Tue, 24 Feb 2026 17:32:12 +0000 (14:32 -0300)
committermerge-script <oleonardolima@users.noreply.github.com>
Tue, 24 Feb 2026 17:32:12 +0000 (14:32 -0300)
a88017009b193d0f56dd0e6aac0efd8d31112e88 fix(bdk_esplora): use `get_blocks_infos` instead of `get_blocks` (Leonardo Lima)

Pull request description:

  ### Description

  The `get_blocks` method from `esplora-client` has been deprecated on the latest release `v0.12.3`. I'm updating it to use newly added one: `get_blocks_infos` in order to fix the deprecation warning.

  ### Changelog notice

  ```
  ### Changed
  - fix(bdk_esplora): use `get_block_infos` instead of deprecated `get_blocks`
  ```

  ### Checklists

  #### All Submissions:

  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  luisschwab:
    ACK a88017009b193d0f56dd0e6aac0efd8d31112e88
  reez:
    ACK a88017009b193d0f56dd0e6aac0efd8d31112e88

Tree-SHA512: 21afb07a10b1c6da519b414cd6c23aeff42d4e9f2b76ecf4c1a6f9abee1a2609c9ff6e6c81608c2497eb9831faf1687355c9428e0f3c48ca4efaa3a2003355a8


Trivial merge