Skip to content

refactor: rename Wallet field, add alias#4

Closed
thunderbiscuit wants to merge 2 commits intomasterfrom
refactor/tx_graph
Closed

refactor: rename Wallet field, add alias#4
thunderbiscuit wants to merge 2 commits intomasterfrom
refactor/tx_graph

Conversation

@thunderbiscuit
Copy link
Owner

@thunderbiscuit thunderbiscuit commented Jan 17, 2026

Renamed Wallet::indexed_graph to Wallet::tx_graph as the latter is a better name representing the field. Also introduced a type alias KeychainTxGraph for convenience.

Note: This PR helps with the multi-keychain work being done in bdk_wallet#318 and bdk_wallet#367.

Changelog:
Added

  • Type alias KeychainTxGraph<K> for IndexedTxGraph<ConfirmationBlockTime, KeychainTxOutIndex<K>>.

Changed

  • Renamed Wallet::indexed_graph to Wallet::tx_graph.

@110CodingP
Copy link
Collaborator

ACK c199d64

@110CodingP 110CodingP changed the title Refactor/tx graph refactor: rename Wallet fields, add alias Jan 27, 2026
@110CodingP 110CodingP changed the title refactor: rename Wallet fields, add alias refactor: rename Wallet field, add alias Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants