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

rust-bitcoin / rust-bitcoin / 16689238573
83%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2025 03:10AM UTC
Jobs 1
Files 131
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

02 Aug 2025 03:09AM UTC coverage: 83.453% (+0.03%) from 83.426%
16689238573

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4735: Use `FeeRate` in `FeeFilter` message

<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/448666c9fbb16cfad22752907f0571269d0092bb">448666c9f p2p: Use `FeeRate` in the feefilter message (rustaceanrob)

Pull request description:

  Commit one:
  
  The only purpose of the function signature using a `u32` is to ensure no overflow occurs within the body. This API doesn't mirror it's counterpart, `FeeRate::to_sat_per_kvb_*` which returns a u64. Considering `FeeRate::MAX == u64::MAX`, the respective bodies can have complimentary APIs.
  
  Furthermore, the only use for `kvb` I am aware of is BIP-133 feefilter, which is expressed as a `u64` over the wire.
  
  Commit two: 
  
  The previous `i64` is obviously not type-safe and I believe it is also wrong. BIP-133 states this value is encoded as a uint64_t. The `u64` is decoded of the wire and interpreted as sats per kvb with the help of the previous commit.


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


Tree-SHA512: 928bf7d2b0355499cf40d110ce49998b728

21429 of 25678 relevant lines covered (83.45%)

15272.63 hits per line

Coverage Regressions

Lines Coverage ∆ File
36
92.22
0.07% p2p/src/message.rs
Jobs
ID Job ID Ran Files Coverage
1 16689238573.1 02 Aug 2025 03:10AM UTC 131
83.45
GitHub Action Run
Source Files on build 16689238573
  • Tree
  • List 131
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16689238573
  • e5aad88c on github
  • Prev Build on master (#16688922259)
  • Next Build on master (#16694415680)
  • 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