-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1065: refactor!(chain): Unify ChangeSet nomenclature
62f2531 ci: Update tokio version (Daniela Brozzoni) 80f5ecf feat(chain): Add `initial_changeset` to graphs (Daniela Brozzoni) ea50b6a refactor!(chain): Unify ChangeSet nomenclature (Daniela Brozzoni) Pull request description: Solves #1022 ### Changelog notice Rename `indexed_tx_graph::IndexedAdditions` to `indexed_tx_graph::ChangeSet` Rename `indexed_tx_graph::IndexedAdditions::graph_additions` to `indexed_tx_graph::ChangeSet::graph` Rename `indexed_tx_graph::IndexedAdditions::index_additions` to `indexed_tx_graph::ChangeSet::indexer` Rename `tx_graph::Additions` to `tx_graph::ChangeSet` Rename `keychain::DerivationAdditions` to `keychain::ChangeSet` Rename `CanonicalTx::node` to `CanonicalTx::tx_node` Rename `CanonicalTx::observed_as` to `CanonicalTx::chain_position` Rename `LocalChangeSet` to `WalletChangeSet` Rename `LocalChangeSet::chain_changeset` to `WalletChangeSet::chain` Rename `LocalChangeSet::indexed_additions` to `WalletChangeSet::indexed_tx_graph` Rename `LocalUpdate` to `WalletUpdate` Make `TxGraph::determine_changeset` `pub(crate)` Add `TxGraph::initial_changeset` Add `IndexedTxGraph::initial_changeset` Remove `TxGraph::insert_txout_preview` Remove `TxGraph::insert_tx_preview` Remove `insert_anchor_preview` Remove `insert_seen_at_preview` ### Notes to reviewers I'm not sure whether we want to keep `TxGraph::determine_changeset` public or not ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: evanlinjin: ACK 62f2531 Tree-SHA512: 401bdf49c5f2082971cfcd54725ce98abd08263de7571205a324a2adbb5359be4f48454def415bedadde0a9c81db437b91c13cd6e892ba54b215059f75006dd5
- Loading branch information
Showing
17 changed files
with
374 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.