Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs fix spelling issues #209

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A computation can be expressed as an NP statement, in forms such as the followin
A prover who knows the witness for the NP statement (i.e., a satisfying input/assignment) can produce a short proof attesting to the truth of the NP statement. This proof can be verified by anyone, and offers the following properties.

- __Zero knowledge:__
the verifier learns nothing from the proof beside the truth of the statement (i.e., the value _qux_, in the above examples, remains secret).
the verifier learns nothing from the proof besides the truth of the statement (i.e., the value _qux_, in the above examples, remains secret).
- __Succinctness:__
the proof is short and easy to verify.
- __Non-interactivity:__
Expand All @@ -51,7 +51,7 @@ A prover who knows the witness for the NP statement (i.e., a satisfying input/as
the proof attests not just that the NP statement is true, but also that the
prover knows why (e.g., knows a valid _qux_).

These properties are summarized by the _zkSNARK_ acronym, which stands for _Zero-Knowledge Succinct Non-interactive ARgument of Knowledge_ (though zkSNARKs are also knows as
These properties are summarized by the _zkSNARK_ acronym, which stands for _Zero-Knowledge Succinct Non-interactive ARgument of Knowledge_ (though zkSNARKs are also known as
_succinct non-interactive computationally-sound zero-knowledge proofs of knowledge_).
For formal definitions and theoretical discussions about these, see
\[BCCT12], \[BCIOP13], and the references therein.
Expand Down
2 changes: 1 addition & 1 deletion libsnark/gadgetlib2/examples/tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void R1P_VerifyTransactionAmounts_Gadget::generateConstraints() {
// equation over the field modulus. In fact, for every input/output sum we will always find a
// miners' fee which will satisfy this constraint!
// It is left as an exercise for the reader to implement additional constraints (and witness)
// to check that each of the amounts (inputs, outputs, fee) are between 0 and 21,000,000 * 1E8
// to check that each of the amounts (inputs, outputs, fee) is between 0 and 21,000,000 * 1E8
// satoshis. Combine this with a maximum amount of inputs/outputs to disallow field overflow.
//
// Hint: use Comparison_Gadget to create a gadget which compares a variable's assigned value
Expand Down
2 changes: 1 addition & 1 deletion libsnark/gadgetlib2/gadget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ CREATE_GADGET_FACTORY_CLASS_3(IntegerPacking_Gadget, VariableArray, unpacked, Va
/*************************************************************************************************/

/*
Gadgets recieve a constant field element n, and an input.
Gadgets receive a constant field element n, and an input.
input == n ==> result = 1
input != n ==> result = 0
*/
Expand Down