-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from QED-it/v1.1.0
Version 1.1.0, 2020-06, Simplifications
- Loading branch information
Showing
24 changed files
with
1,030 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Version 1.1.0, 2020-06, Simplifications | ||
|
||
Interface definition: | ||
- *(breaking)* Renamed R1CSContraints to ConstraintSystem. | ||
- *(breaking)* Moved r1cs_generation and witness_generation from Circuit to Command. | ||
- Added a dedicated Command message type to help with interoperable execution. | ||
- Added an example file in binary and JSON. | ||
|
||
Rust: | ||
- *(breaking)* Moved "writing" helpers to the "owned" modules. | ||
- Added "owned" versions of all message types. | ||
- Added a tool to convert to JSON. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
{ | ||
"circuits": [ | ||
{ | ||
"connections": { | ||
"variable_ids": [ | ||
1, | ||
2, | ||
3 | ||
], | ||
"values": [ | ||
3, | ||
0, | ||
0, | ||
0, | ||
4, | ||
0, | ||
0, | ||
0, | ||
25, | ||
0, | ||
0, | ||
0 | ||
] | ||
}, | ||
"free_variable_id": 6, | ||
"field_maximum": null | ||
} | ||
], | ||
"constraint_systems": [ | ||
{ | ||
"constraints": [ | ||
{ | ||
"linear_combination_a": { | ||
"variable_ids": [ | ||
1 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
}, | ||
"linear_combination_b": { | ||
"variable_ids": [ | ||
1 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
}, | ||
"linear_combination_c": { | ||
"variable_ids": [ | ||
4 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
} | ||
}, | ||
{ | ||
"linear_combination_a": { | ||
"variable_ids": [ | ||
2 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
}, | ||
"linear_combination_b": { | ||
"variable_ids": [ | ||
2 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
}, | ||
"linear_combination_c": { | ||
"variable_ids": [ | ||
5 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
} | ||
}, | ||
{ | ||
"linear_combination_a": { | ||
"variable_ids": [ | ||
0 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
}, | ||
"linear_combination_b": { | ||
"variable_ids": [ | ||
4, | ||
5 | ||
], | ||
"values": [ | ||
1, | ||
1 | ||
] | ||
}, | ||
"linear_combination_c": { | ||
"variable_ids": [ | ||
3 | ||
], | ||
"values": [ | ||
1 | ||
] | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"witnesses": [ | ||
{ | ||
"assigned_variables": { | ||
"variable_ids": [ | ||
4, | ||
5 | ||
], | ||
"values": [ | ||
9, | ||
0, | ||
0, | ||
0, | ||
16, | ||
0, | ||
0, | ||
0 | ||
] | ||
} | ||
} | ||
] | ||
} |
Binary file not shown.
Oops, something went wrong.