]> Untitled Git - bdk/commit
refactor(electrum): remove `RelevantTxids` and track txs in `TxGraph`
authorWei Chen <wzc110@gmail.com>
Thu, 11 Apr 2024 21:57:14 +0000 (17:57 -0400)
committer志宇 <hello@evanlinjin.me>
Fri, 10 May 2024 06:11:18 +0000 (14:11 +0800)
commit2ffb65618afb7382232a3c08a077dd1109005071
tree71ab5ba8bcb4252c2fa69a115d249ce52e941860
parentfb7ff298a4bb6254e6d847dbda8bd604552e527e
refactor(electrum): remove `RelevantTxids` and track txs in `TxGraph`

This PR removes `RelevantTxids` from the electrum crate and tracks
transactions in a `TxGraph`. This removes the need to separately
construct a `TxGraph` after a `full_scan` or `sync`.
crates/electrum/src/electrum_ext.rs
crates/electrum/src/lib.rs
crates/electrum/tests/test_electrum.rs
example-crates/example_electrum/src/main.rs
example-crates/wallet_electrum/src/main.rs