Skip to content
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

Rename methods of esplora ext #1070

Conversation

vladimirfomene
Copy link
Contributor

@vladimirfomene vladimirfomene commented Aug 9, 2023

Description

This PR fixes #1058. Built on top of #1040

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

Copy link
Contributor

@realeinherjar realeinherjar left a comment

Choose a reason for hiding this comment

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

ACK 2090021

The renaming seems OK.
I've run all wallet_* examples and it works fine.
I had to change blocktream.info -> mempool.space due to 429 HTTP errors.

@vladimirfomene vladimirfomene force-pushed the rename-methods-of-EsploraExt branch 2 times, most recently from b60a1d9 to 98c8e0e Compare September 12, 2023 13:36
@vladimirfomene vladimirfomene force-pushed the rename-methods-of-EsploraExt branch from 98c8e0e to 2090021 Compare September 12, 2023 13:39
Copy link
Member

@danielabrozzoni danielabrozzoni left a comment

Choose a reason for hiding this comment

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

ACK 2090021 - code looks good, example_esplora and wallet_esplora_blocking work just fine.

The wallet esplora async example give back a 429 error with blockstream.info as @realeinherjar reported, but it's happening on master as well. I opened #1120 to track the issue.

@danielabrozzoni danielabrozzoni merged commit 59fc1b3 into bitcoindevkit:master Sep 12, 2023
@notmandatory notmandatory mentioned this pull request Oct 11, 2023
12 tasks
notmandatory added a commit that referenced this pull request Jan 6, 2024
…c and full_scan functions

de54e71 refactor(esplora_ext): rename scan_txs to sync and scan_txs_with_keychains to full_scan (Steve Myers)
95d3485 refactor(electrum_ext): rename scan_without_keychain to sync and scan to full_scan (Steve Myers)

Pull request description:

  ### Description

  fixes #1112

  Simple function renaming plus updated docs:

  1. electrum_ext: rename functions `scan_without_keychain` to `sync` and `scan` to `full_scan`
  2. esplora_ext: rename functions `scan_txs` to `sync` and `scan_txs_with_keychains` to `full_scan`

  ### Notes to the reviewers

  The esplora_ext changes were partially fixed in #1070 but I renamed again so the functions match names ~~suggested in #1112~~ agreed on in discord poll, `sync` and `full_scan`.

  ### Changelog notice

  Changed

  - electrum_ext: rename functions scan_without_keychain to sync and scan to full_scan
  - esplora_ext: rename functions scan_txs to sync and scan_txs_with_keychains to full_scan

  ### 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 fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: d34516ecc513a194b679f73a1260d0cbc3d12b6a2e162d822e7381da0b3250aff319e85ed2fadec506e36f95a78a5cd79d0ab972da2b02928c074be17664da08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Rename methods of EsploraExt and EsploraAsyncExt
4 participants