Commit Graph

44 Commits

Author SHA1 Message Date
Kevin Gallagher
3327ef3df0 Moves zcash-fetch-params to /usr/bin
Since the file is managed by the package manager, this is a more appropriate
location for that script. Also updates the timestamp in the changelog.
2016-10-13 20:13:37 -07:00
Kevin Gallagher
b5718a5a57 Initial packaging for Debian
This adds some source files, a script and skeleton for building
a Debian package that installs the zcash daemon and CLI tool.
Also removes unused Bitcoin files.
2016-10-13 13:15:14 -07:00
Kevin Gallagher
e3320f4f0f Increases timeout to 30s, wait before retry to 3s
Default: 20 tries
2016-10-11 10:56:01 -07:00
Kevin Gallagher
f964718c83 Set wget retry options for fetching parameters
This will retry upon refused connections and similar errors, wait 1 second
before the next retry, time out after 10 seconds if no data is received or
the connection times out, plus try an infinite number of times.
2016-10-10 20:34:55 -07:00
zkbot
d86218a52f Auto merge of #1476 - ebfull:update-parameters, r=str4d
Update to beta2 public parameters

Also gets rid of the `testnet3`/`regtest` subdirectories/symlinks and other such things.
2016-10-04 04:54:02 -04:00
zkbot
4cfbe798bf Auto merge of #1429 - str4d:867-update-dependencies, r=str4d
Update all dependencies

Also re-enables disabled compiler warnings.

Closes #867, #944, #1241, #1255, #1348.
2016-10-04 03:48:42 -04:00
Sean Bowe
796c7ee52f Update to beta2 public parameters, remove regtest/testnet3 parameters
subdirectories.
2016-10-03 15:58:02 -06:00
Kevin Gallagher
e70213103c Verify TLS certificates w/ wget in fetch-params.sh
Per NCC-2016-017, wget was run with --no-check-certificate,
which means that the connection can be man-in-the-middled,
even if we are verifying the integrity of the params later via hash sums.
The rationale cited in the Bash comments does not stand up to scrutiny.
There's really no persuasive reason not to verify certificates.

Fixes #1346.
2016-09-30 12:08:15 -07:00
Jack Grigg
df2bca8fbc Re-enable disabled compiler warnings
Reverts:
- be1bae14e8
- ec3bd70b6d

Closes #944
2016-09-29 14:35:38 +13:00
Kevin Gallagher
2e113f6b9d Lock to prevent parallel execution of fetch-params.sh
Two instances of the fetch-params.sh script running at once will
result in corruption of the proving key and an error when the
hashes are computed. This implements a lock to stop such a
scenario from occurring.

We also terminate and don't create the symlinks if the downloaded
parameters fail the checksum command.
2016-09-22 03:08:42 -07:00
Alfie John
70db019c6a Updating wording to match Beta Guide 2016-09-15 22:00:13 +10:00
Alfie John
42c03d49f2 Typo in params README 2016-09-15 21:58:55 +10:00
zkbot
27bd8e4129 Auto merge of #1270 - ThisIsNotOfficialCodeItsJustForks:t1168-fix-optimization-flags, r=daira
Fix inconsistent -O1/-O2, fix libzcash flags, add -fwrapv -fno-strict-aliasing

Closes #1168. In that ticket I decided the optimization flags for dependencies are out of scope, i.e. we go with whatever the upstream package maintainer chose.
2016-08-23 03:30:31 +00:00
Sean Bowe
393b2b7834 Update proving/verifying keys. 2016-08-22 15:48:43 -06:00
Taylor Hornby
f5d3d420f6 Add -fwrapv -fno-strict-aliasing; fix libzcash flags. 2016-08-17 11:57:51 -06:00
Taylor Hornby
46ad3c2758 Fix inconsistent optimization flags; single source of truth. 2016-08-17 11:38:28 -06:00
Taylor Hornby
998eea5db6 Disable hardening when building for coverage reports. 2016-08-11 15:15:50 -06:00
Taylor Hornby
4e0b4af40f Enable -O1 for better FORTIFY_SOURCE protections. 2016-07-21 20:45:02 -06:00
Taylor Hornby
ae79cec542 Make the --enable-hardening flag explicit. 2016-07-21 19:53:45 -06:00
Sean Bowe
1477fd3f40 Remove the constraint system from the alpha proving key. 2016-07-19 14:01:58 -06:00
zkbot
42825a9f6a Auto merge of #979 - nathan-at-least:nathan.cleanup-nonofficial-tags, r=ebfull
A script to remove "unofficial" tags from a remote, such as github.

Officialness is determined by a regular expression. ;-)

This is handy because we often want upstream Bitcoin tags for local
diffs, but sometimes we accidentally upload them to github which then
claims they are our releases, which is confusing and misleading.
2016-07-13 02:23:14 +00:00
Sean Bowe
1744fec274 Update the zkSNARK parameters. 2016-06-03 21:04:07 -06:00
Nathan Wilcox
24f0aeaf7f A script to remove "unofficial" tags from a remote, such as github.
Officialness is determined by a regular expression. ;-)

This is handy because we often want upstream Bitcoin tags for local
diffs, but sometimes we accidentally upload them to github which then
claims they are our releases, which is confusing and misleading.
2016-05-30 16:54:23 -07:00
Sean Bowe
6b5d608899 Update proving key and tests that depend on transaction structure changes 2016-05-24 11:09:17 -06:00
Alex
7e540a0b6f add sha256sum support for Mac OS X 2016-05-23 23:54:29 +02:00
Taylor Hornby
be1bae14e8 Hide new Boost warnings on GCC 6. 2016-05-18 12:20:16 -06:00
Taylor Hornby
6dc53bdc33 Turn on -Werror for the Zcash build. 2016-05-18 11:22:29 -06:00
Taylor Hornby
ec3bd70b6d Ignore deprecated declaration warnings. 2016-05-18 11:22:29 -06:00
Taylor Hornby
67f3fe3d25 Fix FORTIFY_SOURCE build errors. 2016-05-18 11:22:29 -06:00
Sean Bowe
3e0af61b86 Update zkSNARK proving/verifying keys. 2016-05-12 16:45:12 -06:00
Sean Bowe
b8d320df19 Update public zkSNARK parameters for new circuit. 2016-05-12 16:44:49 -06:00
Nathan Wilcox
d16d5ef832 Add coverage support scoped to only the zcash-gtest run; invoke with make zcash-cov; make cov is a superset. 2016-04-18 11:15:34 -07:00
Taylor Hornby
b79bfd7a75 Remove sed hack from fetch-params.sh 2016-02-03 12:57:07 -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
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
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
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
Nathan Wilcox
24f54da4f2 Add symlinks to the params files for testnet3. 2016-01-19 14:36:18 -07:00
Taylor Hornby
74e519aa2d Update the SHA256 hashes for the new parameters. 2016-01-05 13:32:46 -07:00
Taylor Hornby
9d69acabed Rename zerocash to Zcash. 2015-12-22 00:49:17 -07:00
Taylor Hornby
0c5b41f0ce Copy zcutil/fetch-params.sh from the private alpha branch, changing the file names. 2015-12-15 01:26:04 -07:00
Taylor Hornby
168519e2b1 Add zcutil/build.sh script. 2015-11-24 12:23:36 -07:00