]> Untitled Git - bdk/commit
feat(wallet)!: make `seen_at` mandatory for `Wallet::apply_update_at`
author志宇 <hello@evanlinjin.me>
Wed, 9 Oct 2024 14:36:27 +0000 (14:36 +0000)
committervalued mammal <valuedmammal@protonmail.com>
Tue, 5 Nov 2024 19:14:36 +0000 (14:14 -0500)
commitb0dc3ddd3a5f2ff8e5b2fc5654fc2519bc7e728e
tree663a0bcc4367b57eb5b4dcf43dc1baa0322b606e
parent00c568d4c5e020439c7f586075d3aa2003cd4b10
feat(wallet)!: make `seen_at` mandatory for `Wallet::apply_update_at`

Not including a `seen_at` alongside the update means the unconfirmed txs
of the update will not be considered to be part of the canonical
history. Therefore, transactions created with this wallet may replace
the update's unconfirmed txs (which is unintuitive behavior).

Also updated the docs.
crates/wallet/src/wallet/mod.rs