Ran
|
Jobs
1
|
Files
49
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1643: feat(chain,wallet)!: rm `ConfirmationTime` <a class=hub.com/bitcoindevkit/bdk/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk/commit/a3d4eef77d427b290e1d0041d3c760b8fe29f6a2">a3d4eef77 feat(chain,wallet)!: rm `ConfirmationTime` (志宇) Pull request description: ### Description This PR removes `ConfirmationTime`, and favors `ChainPosition<ConfirmationBlockTime>` instead. The only difference between these two structures is that `ChainPosition<ConfirmationBlockTime>` contains an additional `BlockHash`. Additionally, `ConfirmationTime` was not used in many places. It was mainly for displaying information in `bdk_wallet::Wallet`. We also impl `serde::Deserialize` and `serde::Serialize` for `ChainPosition`. ### Notes to the reviewers ### Changelog notice * Remove `bdk_chain::ConfirmationTime`. Use `ChainPosition<ConfirmationBlockTime>` in place. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: LagginTimes: ACK a3d4eef77d427b290e1d0041d3c760b8fe29f6a2 oleonardolima: ACK a3d4eef77d427b290e1d0041d3c760b8fe29f6a2 ValuedMammal: ACK a3d4eef77d427b290e1d0041d3c760b8fe29f6a2 Tree-SHA512: d94db7088e808ff9b2bcf4affa4094a5f76
76 of 78 new or added lines in 4 files covered. (97.44%)
10 existing lines in 2 files now uncovered.11288 of 13674 relevant lines covered (82.55%)
14737.98 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
85.29 |
1.15% | crates/chain/src/chain_data.rs |
1 |
84.02 |
-0.21% | crates/wallet/src/wallet/mod.rs |
Lines | Coverage | ∆ | File |
---|---|---|---|
4 |
84.02 |
-0.21% | crates/wallet/src/wallet/mod.rs |
6 |
76.64 |
-1.57% | crates/chain/src/local_chain.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11491229753.1 | 49 |
82.55 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|