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

rust-bitcoin / rust-bitcoin / 15228743837
83%

Build:
DEFAULT BRANCH: master
Ran 24 May 2025 04:04PM UTC
Jobs 1
Files 129
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

24 May 2025 04:03PM UTC coverage: 84.673% (-0.09%) from 84.762%
15228743837

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4496: BREAKING: Change Psbt serde implementations

<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/9aa235c24d65d23de2afc21fcbd019892bf4ad2a">9aa235c24<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ecf4b2bceeafa1c736ca26e6089980a846d76328"> BREAKING: Change Psbt serde implementations (Daniel Roberts)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/d7e9a8433939e23838123932ef0186fe315e5c42">d7e9a8433</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ecf4b2bceeafa1c736ca26e6089980a846d76328"> Fix Psbt preimage keys in serde test (Daniel Roberts)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/62026c1e2dd0a1d0b8f12fc6d55c06de0ddc002e">62026c1e2</a> Don't use PSBT_GLOBAL_XPUB as an unknown key in Psbt serde test (Daniel Roberts)

Pull request description:

  Implements the conclusion of #3454 by serializing Psbts using the BIP-174 binary encoding, optionally using base64 where appropriate.

  The core of the problem is the old derived serde implementation by its nature can't be backwards compatible when serialized in binary formats like bincode. Fields will be added to the Psbt (my motivating case in #4440 ) and this will always break formats like bincode.

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

Tree-SHA512: 4dc9dbf1a8769c66c2f58da2cc1bc1b7382

20 of 28 new or added lines in 1 file covered. (71.43%)

27 existing lines in 3 files now uncovered.

23523 of 27781 relevant lines covered (84.67%)

16012.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
85.78
-0.61% bitcoin/src/psbt/mod.rs

Coverage Regressions

Lines Coverage ∆ File
12
39.1
-9.02% internals/src/serde.rs
9
84.07
-1.11% bitcoin/src/bip32.rs
6
85.78
-0.61% bitcoin/src/psbt/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 15228743837.1 24 May 2025 04:04PM UTC 129
84.67
GitHub Action Run
Source Files on build 15228743837
  • Tree
  • List 129
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15228743837
  • ecf4b2bc on github
  • Prev Build on master (#15228479138)
  • Next Build on master (#15233672788)
  • 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