Skip to content

Commit ae728a6

Browse files
authored
Merge branch 'develop' into patch-1
2 parents 764f916 + 8e032e6 commit ae728a6

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ rust:
66

77
env:
88
- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES=''
9-
# Disabled for now along with the yoloproofs feature.
10-
#- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES='yoloproofs'
9+
- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES='yoloproofs'
1110
# run cargo bench with a filter that matches no benchmarks.
1211
# this ensures the benchmarks build but doesn't run them on the CI server.
1312
- TEST_COMMAND=bench EXTRA_FLAGS='"DONTRUNBENCHMARKS"' FEATURES=''

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ rand_chacha = "0.1"
3232

3333
[features]
3434
avx2_backend = ["curve25519-dalek/avx2_backend"]
35-
# Disable the yoloproofs feature for the released crate, so that it's not possible for someone to publish a crate using R1CS proofs yet.
36-
# yoloproofs = []
35+
yoloproofs = []
3736

3837
[[test]]
3938
name = "range_proof"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FEATURES :=
1+
FEATURES := yoloproofs
22

33
doc:
44
cargo rustdoc --features "$(FEATURES)" -- --html-in-header docs/assets/rustdoc-include-katex-header.html

docs/range-proof-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The goal of the verifier is to check two equations:
189189
Rewriting as a comparison with the identity point and expanding \\(Q = wB\\) and \\(P' = P + t(x) wB\\) as [needed for transition to the inner-product protocol](../notes/index.html#inner-product-proof):
190190

191191
\\[
192-
0 \overset ? = P + t(x) wB - {\langle a \cdot {\mathbf{s}}, {\mathbf{G}} \rangle} - {\langle {\mathbf{y}^{-n}} \circ (b /{\mathbf{s}}), {\mathbf{H}} \rangle} - abwB + \sum\_{j=1}^{k} \left( L\_{j} u\_{j}^{2} + u\_{j}^{-2} R\_{j} \right),
192+
0 \overset ? = P + t(x) wB - {\langle a \cdot {\mathbf{s}}, {\mathbf{G}} \rangle} - {\langle {\mathbf{y}^{-n \cdot m}} \circ (b /{\mathbf{s}}), {\mathbf{H}} \rangle} - abwB + \sum\_{j=1}^{k} \left( L\_{j} u\_{j}^{2} + u\_{j}^{-2} R\_{j} \right),
193193
\\]
194194
where the [definition](../notes/index.html#proving-that-mathbflx-mathbfrx-are-correct-1) of \\(P\\) is:
195195

0 commit comments

Comments
 (0)