]> Untitled Git - bdk/commit
fix(wallet)!: Rework `Wallet::insert_tx` to no longer insert anchors
authorvalued mammal <valuedmammal@protonmail.com>
Mon, 20 May 2024 11:01:05 +0000 (07:01 -0400)
committervalued mammal <valuedmammal@protonmail.com>
Sun, 23 Jun 2024 17:15:23 +0000 (13:15 -0400)
commit324eeb3eb4e5231c6a81e6d197df788ad08b23a8
tree583e932dbecb497b0328ebe7b9fe56597d5bb28b
parent6dab68d35b60713448c17a9784adaf660057c53f
fix(wallet)!: Rework `Wallet::insert_tx` to no longer insert anchors

since we'd be lacking context that should normally occur during
sync with a chain source. The logic for inserting a graph
anchor from a `ConfirmationTime` is moved to the wallet common
test module in order to simulate receiving new txs and
confirming them.
crates/wallet/src/wallet/export.rs
crates/wallet/src/wallet/mod.rs
crates/wallet/tests/common.rs
crates/wallet/tests/wallet.rs