Jack Grigg
8cf0cdeda3
book: Update TOC entry for SHA-256 chip
2020-12-23 02:44:33 +00:00
Jack Grigg
00b33bd48e
book: Rework documentation of modular addition for SHA-256 chip
2020-12-23 02:42:53 +00:00
Jack Grigg
151adc83dd
book: Document SHA-256 chip instructions and gadget interface
2020-12-23 02:42:27 +00:00
Jack Grigg
90c50fdd11
Refactor permutation proofs to reflect the separate permutations
2020-12-22 23:51:32 +00:00
Jack Grigg
d2c0c8b623
book: Remove trailing whitespace
2020-12-22 21:35:20 +00:00
therealyingtong
e4d5ddecb2
book: Use 0-indexing for message scheduling table16.md
2020-12-22 21:31:13 +00:00
therealyingtong
fc4497ac7c
book: Bring in second SHA-256 table spec page from HackMD
2020-12-22 21:31:13 +00:00
therealyingtong
6abcc70928
book: Bring in first SHA-256 table spec page from HackMD
2020-12-22 21:31:13 +00:00
str4d
38b93d3af6
Merge pull request #90 from zcash/lookup-argument-book-page
...
book: Add design page for lookup argument
2020-12-22 21:29:32 +00:00
Jack Grigg
c2742c0d05
book: Edit the lookup argument page to fit the design section
2020-12-22 21:23:32 +00:00
Jack Grigg
d41e8ef364
book: Move general PLONK language differences to top of design section
2020-12-22 21:09:05 +00:00
Jack Grigg
c1fe1537c1
book: Update authors
2020-12-22 20:45:55 +00:00
Jack Grigg
e9e208e3c4
book: Bring in the lookup argument description from HackMD
2020-12-22 20:43:24 +00:00
str4d
3f856e3066
Merge pull request #91 from zcash/book-multipoint
...
[book] Add multipoint opening + small set interpolation
2020-12-22 20:42:01 +00:00
str4d
68ac6b4542
Merge pull request #105 from zcash/permutation-construction
...
[book] Document the algorithm for permutation construction
2020-12-22 20:38:31 +00:00
Jack Grigg
92d9fb3225
book: Annotate ASCII diagrams as plaintext
...
This prevents mdbook from interpreting them as Rust and attempting to
test them.
2020-12-22 20:30:56 +00:00
Jack Grigg
62cace289b
Add a few comments to the permutation construction code
...
We mainly point at the design document that describes the algorithm.
2020-12-22 20:25:33 +00:00
Jack Grigg
1ba246f7d9
book: Document the permutation construction algorithm
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-12-22 20:25:33 +00:00
ebfull
d237eae796
Merge pull request #104 from zcash/refactor-permutation-keygen
...
Refactor permutation keygen to reflect the separate permutations
2020-12-22 12:24:11 -07:00
Jack Grigg
838d21f2be
Refactor permutation keygen to reflect the separate permutations
2020-12-22 18:11:42 +00:00
ebfull
910d6c3bea
Merge pull request #97 from zcash/domain-fixups
...
Domain fixups
2020-12-22 10:15:35 -07:00
Sean Bowe
9df7b5386f
Account more rigorously for the degrees of permutations' and lookups' constraints.
2020-12-22 08:59:08 -07:00
Sean Bowe
65ed1d8568
Check h_evals/h_commitments lengths in vanishing argument verifier.
2020-12-22 08:59:06 -07:00
str4d
bd73089123
Merge pull request #96 from zcash/metrics-update
...
Bump metrics crate and pin its dependencies
2020-12-22 13:49:30 +00:00
Jack Grigg
c8e6fd9dfd
Pin all metrics crate dependencies
...
We depend on the alpha version, where breaking changes are occurring
regularly. However, the metrics crate does not pin exact versions of
its dependencies, which can break our CI if a new alpha dependency is
released with breaking changes. Fortunately the metrics crate only has
a single metrics-* dependency, so we can just pin that as well.
2020-12-22 12:28:31 +00:00
Jack Grigg
8389389d37
model: metrics 0.13.0-alpha.13
2020-12-22 12:27:36 +00:00
therealyingtong
e8a229fd31
Add small set interpolation to tips-and-tricks
2020-12-17 16:39:36 +08:00
therealyingtong
9d8d5fc6d9
Add multipoint opening explanation to concepts/multipoint-opening.md
2020-12-17 16:10:07 +08:00
ebfull
69d987644c
Merge pull request #88 from zcash/book-bits
...
More book bits
2020-12-13 10:38:26 -07:00
Sean Bowe
c25b7e7d09
cargo fmt
2020-12-13 10:37:32 -07:00
ebfull
7c0e56a44e
Merge pull request #84 from zcash/pasta-curves
...
Replace Tweedle curves with Pasta curves
2020-12-13 08:51:52 -07:00
Sean Bowe
1c0daa5478
Add leading zeroes to hex in some constants.
2020-12-11 13:25:18 -07:00
ebfull
0101014268
Use constants where applicable in field implementations
...
Co-authored-by: str4d <jack@electriccoin.co>
2020-12-11 11:54:32 -07:00
str4d
2aea582865
book: Note that roots don't have to be constant
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-12-11 18:45:14 +00:00
str4d
653cb6ca88
book: Use \cdot for multiplications
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-12-11 18:36:46 +00:00
str4d
8f929888af
book: Describe a lookup table as representing a relation
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-12-11 18:34:59 +00:00
Jack Grigg
e1c770a591
book: Add some more placeholder sections to the user guide
2020-12-10 20:44:50 +00:00
Jack Grigg
2a7df99478
book: Start collecting tips and tricks
2020-12-10 20:44:50 +00:00
Jack Grigg
e16946f56b
CI: Build crate and make it available to book tests
2020-12-10 20:44:50 +00:00
Jack Grigg
a9146ae472
book: Add KaTeX support
2020-12-10 20:44:50 +00:00
ebfull
7e5ed236ba
Merge pull request #86 from zcash/vanishing-argument
...
Vanishing argument
2020-12-08 08:49:44 -07:00
therealyingtong
8360b94f89
Extract plonk::vanishing::{Argument, Proof} from prover and verifier
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2020-12-08 00:57:14 +08:00
Sean Bowe
81345e0cf1
Change ZETA constant of Fp to make it consistent with the endomorphism over Fq.
2020-12-07 09:42:33 -07:00
ebfull
cf734f7875
Merge pull request #53 from zcash/lookup
...
Lookup argument implementation
2020-12-07 09:33:19 -07:00
therealyingtong
e5f55a8576
Abstract add_rotation() helper in plonk::circuit
2020-12-06 07:19:44 +08:00
therealyingtong
4273bbb2ba
[Documentation] Consistently use zero-based numbering
2020-12-06 07:10:09 +08:00
ying tong
30c13d5a6a
Further cleanups
...
Co-authored-by: ebfull <ewillbefull@gmail.com>
2020-12-05 13:14:50 +08:00
Sean Bowe
e7c4213537
Remove duplicative from_bytes_wide method in fq.rs; it already exists in the trait impl for FieldExt.
2020-12-04 17:22:02 -07:00
Sean Bowe
3b91899a19
Make comment consistent between fq.rs / fp.rs
2020-12-04 15:01:44 -07:00
ebfull
adff5b8747
Merge pull request #87 from zcash/book-skeleton
...
Book skeleton
2020-12-04 14:35:24 -07:00