]> Untitled Git - bdk/commit
ref(chain): move `keychain::ChangeSet` into `txout_index.rs`
author志宇 <hello@evanlinjin.me>
Wed, 11 Oct 2023 16:03:18 +0000 (00:03 +0800)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 8 May 2024 11:23:27 +0000 (13:23 +0200)
commitb9902936a0d17498eec8866233d89b2882d0af8f
tree9f50b9db9f4a6204e653e35449bb2bb969011bdd
parent66abc73c3dd0e3fb1f18586f6beca2e8d457be83
ref(chain): move `keychain::ChangeSet` into `txout_index.rs`

We plan to record `Descriptor` additions into persistence. Hence, we
need to add `Descriptor`s to the changeset. This depends on
`miniscript`. Moving this into `txout_index.rs` makes sense as this is
consistent with all the other files. The only reason why this wasn't
this way before, is because the changeset didn't need miniscript.

Co-Authored-By: Daniela Brozzoni <danielabrozzoni@protonmail.com>
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/keychain.rs
crates/chain/src/keychain/txout_index.rs
crates/chain/tests/test_keychain_txout_index.rs