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

Implement EsploraExt for async client #885

Conversation

vladimirfomene
Copy link
Contributor

Description

This PR solves issue #880. It is implementing the EsploraExt trait on the Esplora Async client by defining an async version of that trait and implementing it on the async esplora client.

Notes to the reviewers

I went with the copy pasting approach. I believe it is okay since we are just doing here.

Changelog notice

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

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

evanlinjin and others added 30 commits March 2, 2023 10:53
We prepare the BDK repo for a major restructuring.

- database modules removed
- blockchain module removed
- minimal API changes.
- Many macros removed.
- no longer applicable examples removed.
- Much conditional compilation removed. Can compile with --all-features.
- delete verify module
To stop my rust-anlayzer from killing me
To allow you to re-use change addresses from transactions that get cancelled.
instead of bdk's one
we shouldn't have a feature flag for this it should always be done.
If you want to have tests on the hardware-signer you need to install
the python libraries and start the emulator
Also flesh out README a bit
Original repository: https://github.com/LLFourn/bdk_core_staging/tree/250b4f1dcce10805adfb2f201901675eb6076554/bdk_chain

Co-authored-by: Steve Myers <[email protected]>
Co-authored-by: 志宇 <[email protected]>
Co-authored-by: LLFourn <[email protected]>
Co-authored-by: rajarshimaitra <[email protected]>
Co-authored-by: LagginTimes <[email protected]>
Co-authored-by: Steve Myers <[email protected]>
Co-authored-by: Vladimir Fomene <[email protected]>
I suspect the latest version of HWI just broke everything
Disabled warnings for nursery/tmp_plan as it's going to be replaced
anyways
danielabrozzoni and others added 10 commits March 3, 2023 17:44
Explicitly sets the project MSRV so that clippy won't give warnings
for feature added after our MSRV
- rewrite some parts of the code to deal with older borrow checker
- downgraded hashbrown
There's a huge todo!() for the AsyncClient
To be enabled again soon ™️
@vladimirfomene vladimirfomene force-pushed the add-async-syncing-esplora branch 3 times, most recently from e9d4700 to 84940d5 Compare March 8, 2023 06:26
Creates a separate async EsploraAsyncExt trait for the
async client using async-trait crate. It has thesame
methods as the EsploraExt trait for the blocking client.
This trait is implemented on the AsyncClient of the
rust-esplora-client crate.
@vladimirfomene vladimirfomene force-pushed the add-async-syncing-esplora branch from 84940d5 to 48c188d Compare March 8, 2023 08:57
@LLFourn
Copy link
Contributor

LLFourn commented Mar 10, 2023

This was merged into danielabrozzoni#3 which got merged into #793

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.

5 participants