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

bitcoindevkit / bdk / 15061926453
79%

Build:
DEFAULT BRANCH: master
Ran 16 May 2025 06:19AM UTC
Jobs 1
Files 30
Run time 3min
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

16 May 2025 06:13AM UTC coverage: 82.85% (+0.2%) from 82.66%
15061926453

push

github

evanlinjin
Merge bitcoindevkit/bdk#1950: feat!(chain): implement `first_seen` tracking

<a class=hub.com/bitcoindevkit/bdk/commit/8b17bcfc03c39cd35415742bc31293b7969d1024">8b17bcfc0 feat!(chain): implement `first_seen` tracking (uvuvuwu)

Pull request description:

  ### Description

  This PR solves issue #1947 by implementing `first_seen` tracking.

  * Added `first_seen` field to `TxGraph` and `ChangeSet` so that `first_seen` timestamp can be added when inserting a new seen-at using `insert_seen_at`.

  * `first_seen` added to `TxNode` as a way to retrieve the first-seen timestamp for a transaction.

  * `first_seen` added to `ChainPosition::Unconfirmed` to order unconfirmed transactions by `first_seen`.

  * New tests have been added for the above described functionalities.

  ### Changelog notice

  * Add tracking first-seen timestamps of transactions

  <!-- Notice the release manager should include in the release tag message changelog -->
  <!-- See https://keepachangelog.com/en/1.0.0/ for examples -->

  ### 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

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  evanlinjin:
    ACK 8b17bcfc03c39cd35415742bc31293b7969d1024

Tree-SHA512: effb957047abefa91db520d935c1957c9d5

98 of 107 new or added lines in 2 files covered. (91.59%)

1 existing line in 1 file now uncovered.

5396 of 6513 relevant lines covered (82.85%)

29539.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
84.39
0.77% crates/chain/src/tx_graph.rs
6
80.71
5.43% crates/chain/src/chain_data.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.39
0.77% crates/chain/src/tx_graph.rs
Jobs
ID Job ID Ran Files Coverage
1 15061926453.1 16 May 2025 06:19AM UTC 30
82.85
GitHub Action Run
Source Files on build 15061926453
  • Tree
  • List 30
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b9e4e4c6 on github
  • Prev Build on master (#14778243514)
  • Next Build on master (#15064656570)
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