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

tari-project / bulletproofs-plus / 5961033173
98%

Build:
DEFAULT BRANCH: main
Ran 24 Aug 2023 08:05AM UTC
Jobs 1
Files 20
Run time 1s
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 Aug 2023 07:59AM UTC coverage: 97.562% (+0.006%) from 97.556%
5961033173

push

github

web-flow
feat: compute verifier challenge sum more efficiently (#59)

As part of proof verification, the verifier must compute the sum of
consecutive nonzero powers of one of the Fiat-Shamir challenges.
Currently, this is done naively by iteratively computing powers and
adding them into an accumulator. Because the number of powers is equal
to the product of the bit length and aggregation factor, this is
nontrivial.

The computation can be made far more efficient. Because the sum of
powers is a partial sum of a geometric series, it can be computed using
[a well-known
formula](https://mathworld.wolfram.com/GeometricSeries.html) (which is
already used elsewhere in the verifier).

The change requires computation of an additional scalar inverse. As part
of the optimization, all scalar inversions performed by the verifier are
now included in a single batch operation per proof, which is more
efficient.

Documentation is also updated to reflect the efficiency gain.

Overall, the result is an impressive improvement in verification. A
single 64-bit range proof now verifies 7% faster.

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

2121 of 2174 relevant lines covered (97.56%)

429.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5961033173.1 24 Aug 2023 08:05AM UTC 0
97.56
GitHub Action Run
Source Files on build 5961033173
Detailed source file information is not available for this build.
  • Back to Repo
  • 7315a61b on github
  • Prev Build on main (#5960949904)
  • Next Build on main (#5976742549)
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