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

rust-bitcoin / rust-bitcoin / 16777505321
83%

Build:
DEFAULT BRANCH: master
Ran 06 Aug 2025 12:55PM UTC
Jobs 1
Files 132
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

06 Aug 2025 12:54PM UTC coverage: 83.473% (-0.01%) from 83.487%
16777505321

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4778: p2p: Allow building a "useless" address

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/90df2a1ba8847b99f2ea93b11b27c7eb1e143fed">90df2a1ba p2p: Allow building a "useless" address (rustaceanrob)

Pull request description:

  The version message in the p2p protocol includes two `p2p::Address` fields, one of these fields is completely ignored in practice. Additionally, one might want to send an unreachable address if they do not want to be discovered as a peer, i.e. they are not listening for connections.
  
  I opted out of using `Default` as this is a specific use case, and there is no reasonable default for an IP address.
  
  Reference to the line in Bitcoin Core that drops the `Address`: https://github.com/bitcoin/bitcoin/blob/v29.1rc1/src/net_processing.cpp#L3435


ACKs for top commit:
  tcharding:
    ACK 90df2a1ba8847b99f2ea93b11b27c7eb1e143fed
  apoelstra:
    ACK 90df2a1ba8847b99f2ea93b11b27c7eb1e143fed; successfully ran local tests


Tree-SHA512: 9624b3fa8aef871edbfc6f5d73e2c042b7e

0 of 3 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

21552 of 25819 relevant lines covered (83.47%)

15103.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.09
-0.6% p2p/src/address.rs

Coverage Regressions

Lines Coverage ∆ File
1
87.04
-0.07% bitcoin/src/psbt/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 16777505321.1 06 Aug 2025 12:55PM UTC 132
83.47
GitHub Action Run
Source Files on build 16777505321
  • Tree
  • List 132
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16777505321
  • be6713b7 on github
  • Prev Build on master (#16766998488)
  • Next Build on master (#16786199906)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc