Closed notmandatory closed 4 years ago
Let me know if my thinking is correct. Once we have murmel up and running that should be able to replace electrs right?
@rajarshimaitra the purpose of this PR is to be able to support murmel or electrs as chain data sources. The bdk app dev would be able to select which one to use.
Ultimately I'd like to also be able to use both, ie. when when my app is using very limited mobile data I could use electrs, but when I'm at home on wifi talking to my own full node and/or other full nodes I use murmel.
This functionality was already present in the MagicalBitcoin/magical-bitcoin-wallet repo, so when that repo was renamed to bitcoindevkit/bdk this issue was resolved. See: src/blockchain/esplora.rs
electrs is a bitcoin block chain index engine and HTTP API, implemented in Rust.
Implement block chain data source trait for electrs server REST API.
depends on bitcoindevkit/bdk-old#19