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

rust-bitcoin / rust-bitcoin / 9637337111 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 23 Jun 2024 11:58PM UTC
Files 93
Run time 2s
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

23 Jun 2024 11:57PM UTC coverage: 83.12%. Remained the same
9637337111.1

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#2896: Move `PushBytes::read_scriptint` outside of the `private` module

<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/aebf21661984df45ff79826706f004425f765140">aebf21661<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ae8b0b1610a82624684a24d7cfda1106e1ff43c2"> Use 100 column width for rustdoc (Tobin C. Harding)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/c71ae9ac165406d624766ca53e9b845cf439e9bd">c71ae9ac1</a> Move PushBytes::read_scriptint (Tobin C. Harding)

Pull request description:

  The `push_bytes` module has a `private` module that exists solely to protect the invariant on the `PushBytes` inner byte slice. There is a `PushBytes` impl block outside the private module for functions that can not and do not violate the length invariant.

  Recently we move the `read_scriptint` method to be on the `PushBytes` but we put it inside the `private` module, since the method only reads off of the slice it cannot invalidate the invariant and does not need to be inside the `private` module.

  Move the `read_scriptint` method outside of the `private` module to keep that module as small as possible, helping with its stated aim of being the only place that requires auditing.

  Patch 2 is whitespace only.

ACKs for top commit:
  Kixunil:
    ACK aebf21661984df45ff79826706f004425f765140
  apoelstra:
    ACK aebf21661984df45ff79826706f004425f765140

Tree-SHA512: f41eb691e15259f1c1acd0b4665a0ef9def

19539 of 23507 relevant lines covered (83.12%)

15683.23 hits per line

Source Files on job 9637337111.1
  • Tree
  • List 0
  • Changed 10
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9637337111
  • ae8b0b16 on github
  • Prev Job for on master (#9634435137.1)
  • Next Job for on master (#9638586969.1)
  • 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