|
Ran
|
Jobs
1
|
Files
28
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#2100: Make mining more flexible in `bdk_testenv` <a class=hub.com/bitcoindevkit/bdk/commit/9b1111fd18eed69839ca10e8cacb3b513a8a7aa4">9b1111fd1 feat(testenv): add `mine_block` with custom timestamp and coinbase address (志宇) Pull request description: ### Description Add `mine_block` to `bdk_testenv::Env` with custom timestamp and coinbase address. This allows us to test timelocked transactions. ### Changelog notice ```md Added - `mine_block` method to `bdk_testenv::Env` with custom `MineParams`. Blocks can be mined with no transactions, contain custom timestamp and custom coinbase address. - `min_time_for_next_block` and `get_block_template` helper methods. ``` ### Checklists #### All Submissions: * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) #### New Features: * [x] I've added tests for the new feature * [x] I've added docs for the new feature ACKs for top commit: oleonardolima: ACK 9b1111fd18eed69839ca10e8cacb3b513a8a7aa4 Tree-SHA512: 97d839a2cacc437454da6ec0f521524e33d
376 of 510 branches covered (73.73%)
Branch coverage included in aggregate %.
4293 of 5462 relevant lines covered (78.6%)
3149.2 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22740429932.1 | 28 |
78.18 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|