Commit Graph

8727 Commits

Author SHA1 Message Date
Sean Bowe 0b43e787e0 Add merkleTest and utilTest to test suite. 2016-02-17 13:35:40 -07:00
Sean Bowe 6e96cf089b Add zerocash tests and utilities. 2016-02-15 22:57:55 -07:00
Sean Bowe cf5f4f679d Remove unnecessary comments. 2016-02-15 19:10:15 -07:00
Sean Bowe e463edc122 Build and link libzerocash. 2016-02-15 15:28:20 -07:00
Sean Bowe a897db652f Reorganizing the zerocash tree. 2016-02-15 15:28:20 -07:00
Sean Bowe 1e62bba762 Remove ate-pairing, xbyak and libzerocash dependencies from the depends tree.
The ALT_BN128 curve does not need ate-pairing or xbyak.

Also, remove crypto++ dependency from libsnark.
2016-02-15 15:27:59 -07:00
Sean Bowe 523bc77f64 Move libzerocash (dd5db5815be70f0e4895784cc905df6f1c73cb17) into the src tree. 2016-02-11 13:44:25 -07:00
Taylor Hornby dba05929e7 Fix broken build because of zerocash->zcash rename. 2016-02-03 13:57:34 -07:00
ebfull 0294f34d15 Merge pull request #698 from Electric-Coin-Company/fix-pour-rpc-tests
Fixed RPC tests for Pours.
2016-02-03 13:07:53 -07:00
Taylor Hornby 21328e97cd Fix bad merge due to qa/zerocash->qa/zcash rename. 2016-02-03 13:04:23 -07:00
Taylor Hornby b79bfd7a75 Remove sed hack from fetch-params.sh 2016-02-03 12:57:07 -07:00
Taylor Hornby 1ffb5eb04f Rename qa/zerocash to qa/zcash. 2016-02-03 12:55:02 -07:00
Taylor Hornby eed49655f3 Add documentation to test-depends-sources-mirror.py 2016-02-03 12:53:20 -07:00
Sean Bowe a5cbd56a3a Fixed RPC tests for Pours. 2016-01-29 19:40:05 -07:00
Taylor Hornby ba083f083c Add a test for our depends-sources mirror. 2016-01-28 20:18:52 -07:00
ebfull 2553facbf7 Merge pull request #683 from nathan-at-least/t681.remove-python-fetch-params
Remove fetch-params.py.
2016-01-27 20:14:20 -07:00
Nathan Wilcox e151465b98 Remove fetch-params.py. (We like it and want to use it, but need to do a few other steps first, ref #681) 2016-01-27 15:03:08 -08:00
ebfull 32e370c38f Merge pull request #667 from Electric-Coin-Company/change-decoderawtx
Add decoding support for vpour in the `decoderawtransaction` RPC.
2016-01-27 15:19:16 -07:00
ebfull 405dd80aeb Merge pull request #670 from mattherman/patch-1
Fixed spelling error in README.md
2016-01-25 12:39:49 -07:00
Matthew Herman 08388dbc71 Fixed spelling error in README.md 2016-01-25 13:27:10 -06:00
Sean Bowe 63ea9b75bb Add decoding support for vpour in the `decoderawtransaction` RPC. 2016-01-23 18:07:18 -07:00
ebfull e9ae5d2221 Merge pull request #664 from jzbz/patch-1
Update INSTALL
2016-01-23 16:47:12 -07:00
ebfull 23c0154a66 Merge pull request #665 from jzbz/patch-2
Update README.md
2016-01-23 16:47:07 -07:00
Jonathan Zeppettini fdb00e0988 Update README.md 2016-01-23 17:00:35 -05:00
Jonathan Zeppettini 6c36d4d345 Update INSTALL 2016-01-23 16:45:02 -05:00
ebfull 5d0b0129f5 Merge pull request #660 from nathan-at-least/t654.fetch-params-resume-downloads
Add feature to resume downloads of params files.
2016-01-22 13:03:39 -07:00
ebfull b204f7cd1e Merge pull request #657 from eliteraspberries/fetch-params-py
Implement the fetch-params.sh script in Python
2016-01-22 12:09:37 -07:00
Nathan Wilcox c25c1d95cd Add feature to resume downloads of params files. 2016-01-22 09:37:24 -08:00
Mansour Moufid 8714681840 zcutil/fetch-params.py: Support Python 3. 2016-01-22 00:39:25 -05:00
Mansour Moufid 95e9156cee Implement the fetch-params.sh script in Python. 2016-01-22 00:06:21 -05:00
ebfull 7f689b0a42 Merge pull request #642 from nathan-at-least/t641.fetch-params-ignore-cert-errors
Ignore certificate errors when fetching params.
2016-01-21 02:31:17 -07:00
Nathan Wilcox 6d9975e19b Ignore certificate errors when fetching params. We already have sha256 integrity, no need for confidentiality/DNS authentication. 2016-01-20 14:45:18 -08:00
ebfull fc0ae34c58 Merge pull request #640 from ebfull/remove-type-ck
Remove type check on zcrawpour which is not necessary and causes errors with the RPC.
2016-01-20 15:05:48 -07:00
Sean Bowe 9ce86bec59 Remove type check on zcrawpour which is not necessary and causes errors with the RPC. 2016-01-20 14:53:27 -07:00
Sean Bowe 559ab22589 Added link to alpha guide in the README. 2016-01-20 09:15:36 -07:00
Sean Bowe 293e4f015b Updated README and COPYING. 2016-01-20 00:38:40 -07:00
Nathan Wilcox 6e7c969903 Merge pull request #633 from nathan-at-least/t622.nice-working-fallback-urls
Append the preferred local filename to fallback url, rather than upstream filename.
2016-01-19 18:38:46 -08:00
Nathan Wilcox ad71899e5f Append the preferred local filename to fallback url, rather than upstream filename.
In some cases, such as for github revision tarballs, the upstream
filename is just ``$HASH.tar.gz``, but the local filename is
``${PACKAGE_NAME}-${HASH}.tar.gz``. With this patch, it's clear which
packages each URLs provides *and* it makes the process of updating
http://z.cash/depends/sources a simple scp rather than involving some
kind of name translation.

Closes #622.
2016-01-19 18:24:45 -08:00
Nathan Wilcox 6f466aea69 Merge pull request #625 from Electric-Coin-Company/zc.v0.11.2.ticketXXX-calgary-implementation.2
Calgary Design Foundations
2016-01-19 17:33:19 -08:00
Sean Bowe d488e75ea8 Fix comment. 2016-01-19 16:29:44 -07:00
Nathan Wilcox 8cb250885c Replace magic 2s in rpcwallet and change > to != for arity checks. Replace magic 2's with named constants in test cases. 2016-01-19 14:36:18 -07:00
Nathan Wilcox 24f54da4f2 Add symlinks to the params files for testnet3. 2016-01-19 14:36:18 -07:00
Nathan Wilcox f15b9549dc Implement online help for zcraw* commands. 2016-01-19 14:36:18 -07:00
Sean Bowe cf47198370 Fixed a couple incremental merkle tree bugs breaking consistency checks. 2016-01-19 14:36:10 -07:00
Sean Bowe 2c2dd2305e Update fallback path. 2016-01-19 14:36:10 -07:00
Sean Bowe 8505fd548a Prevent testnet from connecting to Bitcoin and getting people marked as DoS. 2016-01-19 14:36:10 -07:00
Sean Bowe 9144ea8c2b Testnet modifications -- just take the parameters from regtest. Also, move loading ZC params to _before_ verification. 2016-01-19 14:36:10 -07:00
Sean Bowe d66877afb3 Added mapSerials consensus rules to prohibit double-spending. 2016-01-19 14:36:09 -07:00
Sean Bowe 03bff15fe2 Enforce zk-SNARK validity during consensus. 2016-01-19 14:36:09 -07:00
Sean Bowe 0a87fc4ad0 Increase timeouts for comparison utility. 2016-01-19 14:36:09 -07:00