|
Ran
|
Jobs
1
|
Files
27
|
Run time
6min
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#2007: docs(chain): add doctest for min confirmation balance filtering <a class=hub.com/bitcoindevkit/bdk/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk/commit/657a044370a102259eb1b7f5abdfee2dde998bc2">657a04437 docs(chain): add doctest for min confirmation balance filtering (Wei Chen) Pull request description: Implements #1942. ### Description This PR adds a new doctest demonstrating how to simulate a minimum confirmation threshold for confirmed balance calculations by adjusting the `chain_tip` height passed to `TxGraph::balance`. ### Changelog notice - Added a doctest illustrating how to filter confirmed balance results by simulating a minimum confirmation threshold via `chain_tip` height. ### 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 #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [x] I'm linking the issue being fixed by this PR ACKs for top commit: oleonardolima: ACK 657a044370a102259eb1b7f5abdfee2dde998bc2 evanlinjin: ACK 657a044370a102259eb1b7f5abdfee2dde998bc2 Tree-SHA512: 1c9514ee6a7bc9703e774f1603d1458e2e1
383 of 518 branches covered (73.94%)
Branch coverage included in aggregate %.
54 of 54 new or added lines in 2 files covered. (100.0%)
4292 of 5386 relevant lines covered (79.69%)
2324.13 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 17542818007.1 | 27 |
79.18 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|