Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Use async-native esplora backend #947

Closed
thomaseizinger opened this issue Dec 22, 2021 · 2 comments
Closed

Use async-native esplora backend #947

thomaseizinger opened this issue Dec 22, 2021 · 2 comments

Comments

@thomaseizinger
Copy link
Contributor

thomaseizinger commented Dec 22, 2021

At the moment, we are using the https://github.com/bitcoindevkit/rust-electrum-client as the backend for BDK.

BDK also has a reqwest-based esplora backend: https://github.com/bitcoindevkit/bdk/blob/master/src/blockchain/esplora/reqwest.rs

We already depend on reqwest, meaning doing this would cut down our dependency tree and compile times. Additionally, this one is using async and thus provides a better integration with our codebase. the electrum-client is using its own background thread IIRC.

Open problems:

  • We are using the same client for monitoring and the implementation of EsploraBlockchain is completely hidden behind a trait. Thus we cannot access the necessary functionality that we need for monitoring.
@thomaseizinger
Copy link
Contributor Author

Reasons why this is tech-debt:

@bonomat
Copy link
Collaborator

bonomat commented Sep 12, 2023

This project is unmaintained

@bonomat bonomat closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants