]> Untitled Git - bdk/commit
chore(core)!: s/tx_graph::Update/TxUpdate/
authorLLFourn <lloyd.fourn@gmail.com>
Sun, 25 Aug 2024 05:35:18 +0000 (15:35 +1000)
committerLLFourn <lloyd.fourn@gmail.com>
Sun, 25 Aug 2024 05:42:45 +0000 (15:42 +1000)
commita5d076f215cd91173f55bda0d1cc59b9dde75511
tree558ff47b16dc5607d89108d16c735de190ea430c
parentdafb9aaef7d8d4bc83c8ba0845323b92b82fbb3d
chore(core)!: s/tx_graph::Update/TxUpdate/

We shouldn't refer to `tx_graph` in `bdk_core`. TxGraph happens to
consume `Update` but it doesn't conceptually own the definition of an
update to transactions.

I tried to also remove a lot of references to "graph" where they
shouldn't be. "graph" is a very general kind of data structure so we
should avoid referring to it where it's not relevant. `tx_update` is
much better than `graph_update`.
21 files changed:
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/tx_graph.rs
crates/chain/tests/test_tx_graph.rs
crates/core/src/block_id.rs [new file with mode: 0644]
crates/core/src/chain_data.rs [deleted file]
crates/core/src/lib.rs
crates/core/src/spk_client.rs
crates/core/src/tx_update.rs [new file with mode: 0644]
crates/electrum/src/bdk_electrum_client.rs
crates/electrum/tests/test_electrum.rs
crates/esplora/src/async_ext.rs
crates/esplora/src/blocking_ext.rs
crates/esplora/src/lib.rs
crates/esplora/tests/async_ext.rs
crates/esplora/tests/blocking_ext.rs
crates/wallet/src/wallet/export.rs
crates/wallet/src/wallet/mod.rs
crates/wallet/tests/common.rs
crates/wallet/tests/wallet.rs
example-crates/example_electrum/src/main.rs
example-crates/example_esplora/src/main.rs