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

rust-bitcoin / rust-bitcoin / 25397991914
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: push-pwptrotoookp
DEFAULT BRANCH: master
Ran 05 May 2026 07:37PM UTC
Jobs 1
Files 91
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

05 May 2026 07:34PM UTC coverage: 81.822% (+0.04%) from 81.779%
25397991914

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#6106: backport: Fix Unknown NetworkMessage encoding

<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/be1dc059e0671398c4fe2a8de13ffc6358bfd710">be1dc059e backport: Fix Unknown NetworkMessage encoding (Mitchell Bagot)

Pull request description:

  This is a backport of #5671, with adjustments to the test case to handle the lack of encoding::Decoder types.
  
  ---
  
  The old Encodable implementation for NetworkMessage make use of the Vec<u8> encoding for the raw payload data. This introduces a vector length prefix to the start of the encoding which causes the roundtrip for Unknown NetworkMessage types to fail. In practice, NetworkMessage will only ever be decoded through the RawNetworkMessage, where a payload length will be known. As such, this length prefix is not necessary in the encoding and can be trivially removed.
  
  Change Unknown NetworkMessage encoding to directly write the vector of bytes instead of using Vec<u8> encoding logic.


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


Tree-SHA512: 92a3ae9730698af4226815af2b071a832a5

10 of 10 new or added lines in 1 file covered. (100.0%)

16497 of 20162 relevant lines covered (81.82%)

17569.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25397991914.1 05 May 2026 07:37PM UTC 91
81.82
GitHub Action Run
Source Files on build 25397991914
  • Tree
  • List 91
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25397991914
  • 54bcc5da on github
  • Prev Build on bitcoin-units-0.1.3 (#24842276381)
  • Next Build on 0.32.x (#25404874750)
  • 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