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

tari-project / bulletproofs-plus / 5961033173 / 1
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 24 Aug 2023 08:05AM UTC
Files 20
Run time 0s
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.1

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.

2121 of 2174 relevant lines covered (97.56%)

429.88 hits per line

Source Files on job 5961033173.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5961033173
  • 7315a61b on github
  • Prev Job for on main (#5960949904.1)
  • Next Job for on main (#5976742549.1)
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