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

payjoin / rust-payjoin / 12131447448
83%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2024 01:55AM UTC
Jobs 1
Files 27
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

03 Dec 2024 01:35AM UTC coverage: 61.786% (+0.2%) from 61.561%
12131447448

push

github

DanGould
Qr optimizations (#417)

These commits:

1. encode fragment paramters as bech32 strings (with no checksum), with
  2 character param names in the human readable part, and `+` as a
  delimiter
  - expiry time parameter encoded as a little endian u32, in line with
    bitcoin header timestamp and unix time nLocktime encoding. `EX` hrp
  - ohttp has `OH` hrp, same byte representation as previously encoded in
    base64
  - receiver key has `RK` hrp, same byte representation as previously
    encoded in base64
2. use bech32 with no human readable part for the subdirectory IDs
3. uppercase the scheme and host of the URI
4. move the pj so it follows the pjos parameter

Once the `#` %-escaping bug is fixed (see #373), and as long as no path
elements between the host and the subdirectory ID, the entire `pj`
parameter of the bip21 URI can be encoded in a QR using the alphanumeric
mode. Closes #389.

The last commit seems sufficiently motivated. Since there is no purpose
to clearing these values it doesn't actually simplify the code that much.

Manually verified, with manual % escaping of `#`, using the `qrencode`
CLI encoder alphanumeric mode is indeed used for everything following
`pj=`.

177 of 201 new or added lines in 9 files covered. (88.06%)

5 existing lines in 3 files now uncovered.

2857 of 4624 relevant lines covered (61.79%)

995.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12131447448.1 03 Dec 2024 01:55AM UTC 0
61.79
GitHub Action Run
Source Files on build 12131447448
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12131447448
  • 24ed5986 on github
  • Prev Build on master (#12086002692)
  • Next Build on master (#12131589868)
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