|
Ran
|
Jobs
1
|
Files
51
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1682: test(wallet): create tx locktime cltv for a specific time 2c11d46d5 test(wallet): add check for a tx locktime cltv with timestamp (f3r10) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description This PR adds a unit test that checks the satisfaction of timestamp-based timelocks. The goal is to test the absolute time therefore the variable passed to the miniscript fragment `after` has to be equal to or greater that 500_000_000 otherwise it would be checking the block height. ### Notes to the reviewers <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> This unit test tries to check if #642 is still an issue. ### 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: ValuedMammal: ACK 2c11d46d Tree-SHA512: 081918b77bded9e56008b71b8cfc67f6298
3 of 3 new or added lines in 1 file covered. (100.0%)
2 existing lines in 1 file now uncovered.11967 of 13924 relevant lines covered (85.95%)
20677.88 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
86.02 |
-0.24% | crates/chain/src/tx_graph.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12897455764.1 | 51 |
85.95 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|