Skip to content

Refactor ChainQuery to be more flexible #2139

Draft
evanlinjin wants to merge 6 commits into
bitcoindevkit:masterfrom
evanlinjin:refactor/sans-io-mtp-chain-query
Draft

Refactor ChainQuery to be more flexible #2139
evanlinjin wants to merge 6 commits into
bitcoindevkit:masterfrom
evanlinjin:refactor/sans-io-mtp-chain-query

docs(chain): cross-reference `with_mtp` from `view_task`

5dc4b51
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 19, 2026 in 0s

78.71% (+0.05%) compared to 6d03fc3

View this Pull Request on Codecov

78.71% (+0.05%) compared to 6d03fc3

Details

Codecov Report

❌ Patch coverage is 92.44851% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.71%. Comparing base (6d03fc3) to head (5dc4b51).

Files with missing lines Patch % Lines
crates/chain/src/canonical_view_task.rs 90.76% 10 Missing and 2 partials ⚠️
crates/chain/src/canonical.rs 85.41% 7 Missing ⚠️
crates/chain/src/canonical_task.rs 93.10% 5 Missing and 1 partial ⚠️
crates/chain/src/local_chain.rs 93.75% 2 Missing and 1 partial ⚠️
crates/core/src/block_queries.rs 97.24% 3 Missing ⚠️
crates/chain/src/indexed_tx_graph.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2139      +/-   ##
==========================================
+ Coverage   78.65%   78.71%   +0.05%     
==========================================
  Files          30       31       +1     
  Lines        5909     6107     +198     
  Branches      279      279              
==========================================
+ Hits         4648     4807     +159     
- Misses       1185     1227      +42     
+ Partials       76       73       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.