Jack Grigg
|
82da677add
|
Add name field to ConstraintSystem::create_gate
The name has type `&'static str`, as gates apply to every row and thus
do not require any runtime information to name.
|
2021-02-01 18:38:13 +00:00 |
|
Jack Grigg
|
bf771a7446
|
Add namespacing and gadget name collection to Layouter
|
2021-02-01 18:38:04 +00:00 |
|
Jack Grigg
|
60061f64fd
|
Add name field to Layouter::assign_region
|
2021-02-01 18:34:24 +00:00 |
|
Jack Grigg
|
4c3adf59d5
|
Add annotations to Region::{assign_advice, assign_fixed}
This enables circuits to annotate individual cells with variable names
or similar protocol-specific metadata.
|
2021-02-01 18:33:25 +00:00 |
|
therealyingtong
|
ffdd739f85
|
Only write k in Params; calculate n when reading
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-24 08:07:30 +08:00 |
|
therealyingtong
|
e0f9fe1dcf
|
Clippy fixes + address review comments
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2021-01-24 08:07:30 +08:00 |
|
therealyingtong
|
58479fbcc3
|
Refactor keygen to generate pk from vk.
|
2021-01-24 08:07:30 +08:00 |
|
Sean Bowe
|
d9d20bfe36
|
Break out domain creation logic into separate method.
|
2021-01-24 08:04:13 +08:00 |
|
Kris Nuttycombe
|
74b2aa715f
|
Require Rotation instead of i32 for relative rows in circuits.
Co-authored-by: str4d <thestr4d@gmail.com>
|
2021-01-14 11:57:32 -07:00 |
|
therealyingtong
|
fb939f17a9
|
Add permutation check to MockProver
|
2021-01-06 21:52:56 +00:00 |
|
Jack Grigg
|
838d21f2be
|
Refactor permutation keygen to reflect the separate permutations
|
2020-12-22 18:11:42 +00:00 |
|
Sean Bowe
|
9df7b5386f
|
Account more rigorously for the degrees of permutations' and lookups' constraints.
|
2020-12-22 08:59:08 -07:00 |
|
therealyingtong
|
5d891e029d
|
Add fixed_values to ProvingKey
|
2020-12-03 10:50:20 +08:00 |
|
Jack Grigg
|
66240800a3
|
Move permutation keygen into plonk::permutation::keygen
|
2020-12-01 21:10:31 +00:00 |
|
Jack Grigg
|
cdbc41148a
|
Migrate to ff traits
The `Field` trait in this crate is now `FieldExt: ff::PrimeField`.
|
2020-12-01 20:55:03 +00:00 |
|
therealyingtong
|
766caf9214
|
Make getters for column index() and column_type()
|
2020-11-10 00:45:52 +08:00 |
|
therealyingtong
|
075988ae4e
|
Introduce Column struct and ColumnType trait
|
2020-11-06 11:29:42 +08:00 |
|
therealyingtong
|
2034179d82
|
Rename wire -> column
|
2020-11-06 11:18:12 +08:00 |
|
Sean Bowe
|
c97da352ee
|
Remove SRS and replace with ProvingKey/VerifyingKey abstractions
Co-authored-by: therealyingtong <yingtong@electriccoin.co>
|
2020-09-29 08:25:04 -06:00 |
|