]> Untitled Git - bdk/commit
feat(chain,wallet)!: rm `ConfirmationTime`
author志宇 <hello@evanlinjin.me>
Tue, 8 Oct 2024 09:15:55 +0000 (09:15 +0000)
committer志宇 <hello@evanlinjin.me>
Tue, 8 Oct 2024 09:15:55 +0000 (09:15 +0000)
commita3d4eef77d427b290e1d0041d3c760b8fe29f6a2
tree23f4278c5cbe468789afe6ac410ab2b70dd159a6
parentec7342d80775408fec68adb3da4816bd62efcf15
feat(chain,wallet)!: rm `ConfirmationTime`

We rm `ConfirmationTime` because it is essentially the same thing as
`ChainPosition<ConfirmationBlockTime>` without the block hash.

We also impl `serde::Deserialize` and `serde::Serialize` for
`ChainPosition`.
crates/chain/src/chain_data.rs
crates/wallet/src/types.rs
crates/wallet/src/wallet/coin_selection.rs
crates/wallet/src/wallet/mod.rs
crates/wallet/src/wallet/tx_builder.rs
crates/wallet/tests/common.rs
crates/wallet/tests/wallet.rs