• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

btcsuite / btcd / 18858640566
56%
master: 55%

Build:
Build:
LAST BUILD BRANCH: spellcheck
DEFAULT BRANCH: master
Ran 27 Oct 2025 11:15PM UTC
Jobs 4
Files 292
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Oct 2025 01:54AM UTC coverage: 56.111%. First build
18858640566

push

github

Roasbeef
mempool/test: add comprehensive query method tests

In this commit, we add a new test file dedicated to testing the mempool
query methods with realistic transaction scenarios.

The tests cover FetchTransaction, TxHashes, TxDescs, MiningDescs,
RawMempoolVerbose, and CheckSpend. Each test verifies both empty mempool
behavior and populated mempool scenarios with parent-child transaction
relationships.

Key test patterns include verifying that TxHashes returns all transaction
hashes with proper deduplication, that TxDescs and MiningDescs return
correctly formatted descriptors with accurate fee information, and that
RawMempoolVerbose properly tracks dependency relationships between
transactions in the mempool.

The CheckSpend test verifies the spent output detection works correctly,
confirming that the mempool can identify which transaction spends a given
outpoint while correctly returning nil for unspent outputs.

These tests use the established createTestMempoolV2 harness pattern with
mock setup, ensuring consistency with the existing test suite.

33343 of 59423 relevant lines covered (56.11%)

423328.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 btcec - 18858640566.1 27 Oct 2025 11:15PM UTC 18
80.46
GitHub Action Run
2 btcutil - 18858640566.2 27 Oct 2025 11:15PM UTC 120
18.86
GitHub Action Run
3 btcutilpsbt - 18858640566.3 27 Oct 2025 11:15PM UTC 98
21.79
GitHub Action Run
4 btcd - 18858640566.4 27 Oct 2025 11:15PM UTC 260
51.19
GitHub Action Run
Source Files on build 18858640566
  • Tree
  • List 292
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18858640566
  • 78a45ded on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc