Commit Graph

  • bf2e3122ac Remove the Merkle tree hash function's fixed point. Taylor Hornby 2016-05-04 09:15:14 -06:00
  • 9e387120eb Auto merge of #908 - ebfull:trafford, r=ebfull zkbot 2016-05-17 01:04:49 +00:00
  • b0f75847ea Fix issue #717 where if addrman is starved of addresses (e.g. on testnet) the Select_() function will loop endlessly trying to find an address, and therefore eat up 100% cpu time on the 'opencon' thread. Simon 2016-05-13 15:48:10 -07:00
  • 1896a89cac Add h_sig test vectors. Sean Bowe 2016-05-12 16:27:54 -06:00
  • 3e0af61b86 Update zkSNARK proving/verifying keys. Sean Bowe 2016-05-12 14:42:13 -06:00
  • 81469bbb83 Note values should be little-endian byte order. Sean Bowe 2016-05-12 13:19:13 -06:00
  • 032164d5d5 Rename hmac -> mac in circuit. Sean Bowe 2016-05-11 13:06:47 -06:00
  • a9640f67f1 Rename ZCASH_ constants to ZC_. Sean Bowe 2016-05-11 12:58:49 -06:00
  • 53ab7c06ba Use inheritance for PRF gadgets. Sean Bowe 2016-05-10 16:20:30 -06:00
  • ccb439c510 Protect-style joinsplits should anchor to the latest root for now, until #604 is resolved. Sean Bowe 2016-05-05 21:58:02 -06:00
  • 0cdfab1d92 Remove the zerocash tests from the full test suite. Sean Bowe 2016-05-05 21:24:49 -06:00
  • ddb03c3e8d Fix performance measurements due to modified transaction structure. Sean Bowe 2016-05-05 21:23:41 -06:00
  • b8d320df19 Update public zkSNARK parameters for new circuit. Sean Bowe 2016-05-04 18:26:37 -06:00
  • 4ec57478c4 Remove nearly all of libzerocash. Sean Bowe 2016-05-04 18:26:35 -06:00
  • 0d990f31a7 Stop testing old tree against new tree. Sean Bowe 2016-05-04 18:26:33 -06:00
  • 5975bf1c32 Added public zkSNARK parameter generation utility. Sean Bowe 2016-05-04 18:26:24 -06:00
  • 2dc3599271 Transplant of libzcash. Sean Bowe 2016-05-04 18:26:21 -06:00
  • 2140639309 Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed. Sean Bowe 2016-05-04 18:26:19 -06:00
  • 5a2db9e283 libzcash: Add tests for API Sean Bowe 2016-05-04 18:26:16 -06:00
  • dbab243725 zkSNARK: Add constraint that the total value in a JoinSplit is a 64-bit integer. Daira Hopwood 2016-05-04 18:26:13 -06:00
  • 59c3d926c6 zkSNARK: Enforce merkle authentication path from nonzero-valued public inputs to root. Sean Bowe 2016-05-04 18:26:10 -06:00
  • fcece37f00 zkSNARK: Witness commitments to input notes. Sean Bowe 2016-05-04 18:26:07 -06:00
  • e5f7c49d55 zkSNARK: Ensure that values balance correctly. Sean Bowe 2016-05-04 18:26:05 -06:00
  • 5e61a78fec zkSNARK: Enforce disclosure of commitments to output notes. Sean Bowe 2016-05-04 18:26:02 -06:00
  • 6b010d9bfd zkSNARK: Enforce that new output notes have unique rho to prevent faerie gold attack. Sean Bowe 2016-05-04 18:25:59 -06:00
  • e52f40e839 zkSNARK: Authenticate h_sig with a_sk Sean Bowe 2016-05-04 18:25:56 -06:00
  • 2a2f3fb80f zkSNARK: Enforce disclosure of input note nullifiers Sean Bowe 2016-05-04 18:25:54 -06:00
  • ca8d6c9347 zkSNARK: Enforce spend-authority of input notes. Sean Bowe 2016-05-04 18:25:51 -06:00
  • 53d2ade7c2 zkSNARK: Add "zero" constant variable. Sean Bowe 2016-05-04 18:25:48 -06:00
  • 074eb3a2cf zkSNARK: Foundations of circuit design and verification logic. Sean Bowe 2016-05-04 18:25:45 -06:00
  • 369df06583 Introduce new libzcash Zcash protocol API and crypto constructions surrounding the zkSNARK circuit. Sean Bowe 2016-05-04 18:25:42 -06:00
  • 35fd74e598 Auto merge of #924 - ebfull:init-sodium-gtest, r=ebfull zkbot 2016-05-12 21:33:21 +00:00
  • 45d7a9b4a7 Trivial change: Capitalize the Z in Zerocash Taylor Hornby 2016-05-11 16:59:21 -06:00
  • 442eff615b Fix failing miner test Jack Grigg 2016-05-12 00:01:24 +12:00
  • c75d6bd0fa Initialize libsodium in the gtest suite. Sean Bowe 2016-05-10 17:46:58 -06:00
  • 7a1f55183d Disable mining slow start in regtest mode Jack Grigg 2016-05-10 23:11:32 +12:00
  • 4f4a8c3c88 Update miner tests to account for mining slow start Jack Grigg 2016-05-03 12:37:36 +12:00
  • 91818cf28c Update subsidy tests to account for mining slow start Jack Grigg 2016-04-23 13:16:17 +12:00
  • bcb34c0802 Implement mining slow start with a linear ramp Jack Grigg 2016-04-19 18:50:52 +12:00
  • 5961dcb6da Change ciphertext length to match protocol spec, and refactor the use of constants. Sean Bowe 2016-05-04 18:25:38 -06:00
  • c9a2eea5e2 Auto merge of #905 - ebfull:test-suite-fixes, r=ebfull zkbot 2016-05-05 23:29:34 +00:00
  • 87485d5ff3 Auto merge of #907 - DoNotUseThisCodeJUSTFORKS:t844-rename-bitcoin-conf, r=defuse zkbot 2016-05-04 00:55:10 +00:00
  • b6aa043d1f Add googlemock 1.7.0 dependency. Nathan Wilcox 2016-05-03 13:46:09 -07:00
  • aaf6495948 Rename bitcoin.conf and bitcoind.pid to zcash.conf and zcashd.pid in qa/ and src/ Taylor Hornby 2016-05-03 11:28:55 -06:00
  • 92f3c6082a Auto merge of #889 - ebfull:new-imt-redux, r=ebfull zkbot 2016-05-03 17:33:27 +00:00
  • 26007222e8 Distinguish the failure cases of wfcheck in tree. Sean Bowe 2016-05-03 11:23:54 -06:00
  • 956dcdde80 Perform zerocash tests as part of full-test-suite, in preparation for removal of zerocash waterfall. Sean Bowe 2016-05-03 06:49:15 -06:00
  • 6bd8e46922 Run zcash-gtest in make check and fix performance tests. Sean Bowe 2016-05-02 23:14:53 -06:00
  • 6f1b70300d Small nit fixes Sean Bowe 2016-04-29 10:05:06 -06:00
  • 4b2c67d212 Check exception has specific string message. Sean Bowe 2016-04-28 19:35:22 -06:00
  • 70ac6ce2ee Clarify the usage of decryption API. Sean Bowe 2016-04-28 17:06:08 -06:00
  • 984bdd88f1 Add additional tests for ephemeral key behavior. Sean Bowe 2016-04-28 16:52:22 -06:00
  • 57f118176f Move NoteEncryption tests to gtest suite. Sean Bowe 2016-04-27 14:08:55 -06:00
  • 6c36a9fe03 NoteEncryption implementation and integration, removal of ECIES and crypto++ dependencies. Sean Bowe 2016-03-31 22:18:36 -06:00
  • 6850b45e4d Move incremental merkle tree tests to zcash-gtest. Sean Bowe 2016-04-27 11:01:50 -06:00
  • 9b92a9d5fb Make appending algorithm more succinct. Sean Bowe 2016-04-21 12:02:43 -06:00
  • d0c4b0e850 Add more well-formedness checks/tests to tree. Sean Bowe 2016-04-21 11:44:16 -06:00
  • 01e4ff0f74 Improve well-formedness checks and add additional serialization/deserialization tests. Sean Bowe 2016-04-12 14:58:54 -06:00
  • 6d71658673 Initialize curve/field parameters in case another test hasn't done so. Sean Bowe 2016-04-12 14:21:00 -06:00
  • 1760b3cd88 Deprecate the old tree and remove old tree tests from the test suite. Sean Bowe 2016-04-03 16:05:08 -06:00
  • 482aefbd0d Test old tree along with new tree as much as possible. Sean Bowe 2016-04-03 15:39:08 -06:00
  • 434f328446 Integrate new incremental merkle tree implementation into consensus. Sean Bowe 2016-04-02 23:31:26 -06:00
  • e1ff849d8d New implementation of incremental merkle tree Sean Bowe 2016-03-28 02:40:21 -06:00
  • 291b191bd7 Add serialization for primitive boost::optional<T>. Sean Bowe 2016-03-28 00:16:22 -06:00
  • b2cf9ba300 Fix RPC tests Taylor Hornby 2016-04-28 13:35:47 -06:00
  • 0000d23121 Add empty merkle/noteencryption tests so Sean can rebase. Taylor Hornby 2016-04-28 10:04:24 -06:00
  • 3098bab6d6 Fix sighash tests Taylor Hornby 2016-04-28 09:44:12 -06:00
  • 6ad4db2253 Add check that vpubs are not both nonzero and test it. Taylor Hornby 2016-04-13 16:52:24 -06:00
  • d16d5ef832 Add coverage support scoped to only the zcash-gtest run; invoke with make zcash-cov; make cov is a superset. Nathan Wilcox 2016-04-18 11:15:34 -07:00
  • 3ab0c1a790 Add a zcash-gtest binary to our build with a single tautological test. Nathan Wilcox 2016-04-18 11:14:30 -07:00
  • 0ee1d5d133 Add a depends description for googletest. Nathan Wilcox 2016-04-18 11:13:05 -07:00
  • 94f0dcddb4 Auto merge of #873 - nathan-at-least:t832-zc2-release, r=nathan-at-least zkbot 2016-04-13 00:12:35 +00:00
  • 525a3b9223 Rewrite release-process.md and follow the example to generate a changelog-style release-notes file. Nathan Wilcox 2016-04-12 16:54:43 -07:00
  • fb537854ff Update a bunch of docs by adding a banner, delete a bunch of known bitrot docs; does not update release-process.md. Nathan Wilcox 2016-04-12 16:40:30 -07:00
  • 7213c0b158 Fix Equihash state initialisation in miner Jack Grigg 2016-04-12 15:23:44 +12:00
  • f2e157ab25 Auto merge of #846 - DoNotUseThisCodeJUSTFORKS:automated-performance-measurement-zcash-cli-method, r=ebfull zkbot 2016-04-11 21:56:12 +00:00
  • 4d322a4497 Auto merge of #831 - ebfull:foundersreward, r=nathan-at-least zkbot 2016-04-11 19:21:41 +00:00
  • 62fdd8d094 Change pchMessageStart for new testnet. Sean Bowe 2016-04-11 12:43:32 -06:00
  • 6ca317e1cc Fix remaining RPC tests. Sean Bowe 2016-04-11 12:38:34 -06:00
  • 722b0117d0 Benchmark a random equihash input. Taylor Hornby 2016-04-11 11:51:12 -06:00
  • 36b1269bc3 Make benchmark specified by command-line arguments Taylor Hornby 2016-04-11 10:54:55 -06:00
  • 51c8c56b4a Use a separate datadir for the benchmarks Taylor Hornby 2016-04-11 10:15:48 -06:00
  • a0be8e262a Don't leave massif.out lying around after the benchmarks Taylor Hornby 2016-04-11 10:05:16 -06:00
  • a1cd1a27ac Add verify equihash benchmark Taylor Hornby 2016-04-11 10:02:09 -06:00
  • d44feea44c Add JoinSplit verification benchmarks Taylor Hornby 2016-04-11 09:17:02 -06:00
  • bf8def9749 Add equihash solving benchmarks Taylor Hornby 2016-04-11 08:05:13 -06:00
  • 6962bb3df0 Add automated performance measurement system. Taylor Hornby 2016-04-07 15:37:39 -06:00
  • c34d662f10 Specify Sean as the second contact for conduct issues. Daira Hopwood 2016-04-10 20:07:10 +01:00
  • 680550f883 Merge pull request #817 from daira/zc.v0.11.2.ticket802.code-of-conduct.0 Daira Hopwood 2016-04-10 21:31:00 +01:00
  • ad56edf7d4 Fix (most) rpc tests by updating balances. zcpour, zcpourdoublespend, and txn_doublespend currently fail. Nathan Wilcox 2016-04-08 18:05:51 -07:00
  • 349a7b3714 Apply a patch from Sean to update wallet to use our new founders-reward aware balances. Nathan Wilcox 2016-04-08 16:27:27 -07:00
  • 4259e1e3dd Log all failing rpc tests concisely. Nathan Wilcox 2016-04-08 14:50:52 -07:00
  • f3ffa3d27f Implementation of Founders' Reward. Sean Bowe 2016-04-08 13:45:19 -06:00
  • abc1c352c9 Add missing synchronization that causes race condition in test. Sean Bowe 2016-04-08 11:30:33 -06:00
  • aa86873afd Fix pow_tests to work with Equihash Jack Grigg 2016-04-08 23:19:03 +12:00
  • e22df48519 Fix miner_tests to work with equihash Sean Bowe 2016-04-08 00:38:56 -06:00
  • cf00c47d5b Fix tests that depend on old block header format Jack Grigg 2016-04-08 14:38:33 +12:00
  • b82dccaa0d Adjust genesis blocks to have valid solutions and hashes Jack Grigg 2016-03-11 05:39:04 +00:00
  • fdda3c5085 Use Equihash for Proof-of-Work Jack Grigg 2016-02-28 20:19:07 +00:00
  • 020bed6021 Add test vectors for Equihash Jack Grigg 2016-03-25 12:36:56 +13:00