]> Untitled Git - bdk/commit
feat(electrum)!: change signature of `ElectrumExt`
author志宇 <hello@evanlinjin.me>
Sat, 26 Aug 2023 12:29:46 +0000 (20:29 +0800)
committer志宇 <hello@evanlinjin.me>
Sat, 2 Sep 2023 17:51:20 +0000 (01:51 +0800)
commit32c40ac939bc514ac7f1d3f1d7cd1080011e20ba
tree3cdfea932d61bd19af52f851d39159155dd7c5fa
parenta28748c33976312b9e6671636ab7e305323efb03
feat(electrum)!: change signature of `ElectrumExt`

We remove `ElectrumUpdate` and return tuples instead for `ElectrumExt`
methods. We introduce the `IncompleteTxGraph` structure to specifically
hodl the incomplete `TxGraph`.

This change is motivated by @LLFourn's comment: https://github.com/bitcoindevkit/bdk/pull/1084/commits/794bf37e637d3266b75827678f015e14f827d318#r1305432603
crates/electrum/src/electrum_ext.rs
crates/electrum/src/lib.rs
example-crates/example_electrum/src/main.rs
example-crates/wallet_electrum/src/main.rs