136 Commits (b58c15b9fbbca4152e588f81f9f7d8092e7c28da)

Author SHA1 Message Date
ca333 9d36579649 uni3 7 years ago
jl777 ad9a8c35d6 Test 7 years ago
Jack Grigg 51fde9ea08
Use a more specific exception class for note decryption failure 8 years ago
jl777 be47b7c6c6 test 8 years ago
jl777 26bc2cab8b test 8 years ago
jl777 9d36f1c3af test 8 years ago
jl777 e21287a1ed test 8 years ago
jl777 88b39b8177 test 8 years ago
jl777 92e89669cd test 8 years ago
Eran Tromer 894a0b3295 CreateJoinSplit: add start_profiling() call 8 years ago
Jack Grigg d0ce704abe
Add a tool for profiling the creation of JoinSplits 8 years ago
Jack Grigg 5d6e1aa60f
Add total number of commitments to getblockchaininfo 8 years ago
Sean Bowe c4fce3fc81 Check that E' points are actually in G2 by ensuring they are of order r. 8 years ago
Sean Bowe eb82238dd0 Rename Dummy to Disabled. 8 years ago
Sean Bowe 53dc6a41eb Ensure ProofVerifier cannot be accidentally copied. 8 years ago
Sean Bowe bc59f53722 Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller. 8 years ago
Simon 13e9a639b7 Fix threading issue when initializing public params. 8 years ago
Sean Bowe 78df9f0211 Process verification keys to perform online verification. 8 years ago
Sean Bowe 5f0a73ce11 Improve accuracy of constraint system violation diagnostics. 8 years ago
Sean Bowe c4643bd949 Throw more descriptive exceptions when the constraint system is violated. 8 years ago
Simon 19bec4d9bb Fixes CID 1352715 uninitialized scalar field. 8 years ago
Simon b7727d8b3b Fixes CID 1352687 uninitialized scalar field. 8 years ago
Sean Bowe 0a958ae7f6 Write R1CS output to file in GenerateParams. 8 years ago
Jack Grigg 3a15b1637e Move serialized Zcash address length constants into zcash/Address.hpp 8 years ago
Jack Grigg 16d140f4a2 Add support for encrypting spending keys 8 years ago
Simon 4eb1a96f9a Add public field 'memo' to JSOutput to enable creation of notes with custom memos. 8 years ago
Jack Grigg 5abaca1af6 Fix the failing test! 8 years ago
Jack Grigg ac91ebbe92 Add test showing that the witness cache isn't being serialised 8 years ago
Jack Grigg 32a103aab7 Changes after review 8 years ago
Jack Grigg be86b6c332 Add test for GetNoteDecryptor() 8 years ago
Jack Grigg 02e674555e Add wallet method for finding spendable notes in a CTransaction 8 years ago
Jack Grigg 5db5e42ec3 Add optional bool to disable computation of proof in JSDescription constructor 8 years ago
Sean Bowe 7ee82c4361 Deallocate the public parameters during Shutdown. 8 years ago
Daira Hopwood ea92aba9fe Move bigint arithmetic implementations to libsnark. 8 years ago
Sean Bowe f0dab51cf3 Implement zkSNARK compression. 8 years ago
Taylor Hornby 2902ac7ce8 Use libsodium's s < L check, instead checking that libsodium checks that. 8 years ago
Tom Ritter 36d5f42948 Update NoteEncryption.hpp 8 years ago
ebfull 2ee6ed64eb Add parenthesis around macro value definition 8 years ago
Sean Bowe f5e5707d4c Change memo field size and relocate `ciphertexts` field of JoinSplit description. 8 years ago
Tom Ritter 2dd950ecae Clarify comment about nonce space for Note Encryption 8 years ago
Jack Grigg 7c929cf5bc Add support for spending keys to the basic key store 8 years ago
Simon d81c31f5fb Extend try catch block around calls to libsnark, per discussion in #1126. 8 years ago
Sean Bowe 25d2197043 Remove more from libsnark, and fix potential remote-DoS. 8 years ago
Sean Bowe bf76024eb7 Pass our constraint system to libsnark, so that it doesn't need to (de)serialize it in the proving key. 8 years ago
Sean Bowe 1fad6b87e5 Initialize libsodium in this routine, which is now necessary because libsnark uses its PRNG. 8 years ago
Sean Bowe 2668a1bc13 Remove the rest of libzerocash. 8 years ago
Sean Bowe 7f3c7a683b Flush to disk more consistently by accounting memory usage of serials/anchors in cache. 8 years ago
Sean Bowe 62b7cd6173 Do not encode leading bytes in `PaymentAddress` serialization; this is a task for a higher-level API. 8 years ago
Sean Bowe c5f766b9b1 Change merkle tree depth to 29. 8 years ago
Sean Bowe 83e018b160 Remove redundant constraints. 8 years ago