Duke Leto
f6a4f17f82
Avoid downloading the 700MB sprout-groth16 file we do not need
5 years ago
Duke Leto
96478bd32a
We must fetch sprout-groth16.params for now, until librustzcash changes
5 years ago
Jonathan "Duke" Leto
9bd72118bf
It is actually bigger, sigh
5 years ago
Jonathan "Duke" Leto
93090a3106
Better current estimate of param download size
5 years ago
Jonathan "Duke" Leto
9d968518a3
Do not fetch sprout params, which saves every new Hush node from needing to download over 1.5GB of stuff it will never use
5 years ago
Sean Bowe
198dfd3c36
Switch to use the official Sapling parameters.
6 years ago
Charlie OKeefe
eb20680502
Remove extra slash from lockfile path
6 years ago
Sean Bowe
45f1cb440e
Update Sapling testnet parameters
6 years ago
igorvoltaic
4d34c75145
Update fetch-params.sh
making sure we put params to correct dir on Mac OS X.
got it from here >> https://github.com/z-classic/zclassic/blob/master/zcutil/fetch-params.sh
6 years ago
Sean Bowe
acfcdb94b9
Load Sapling testnet parameters into memory.
6 years ago
jl777
e73b2055c6
Merge branch 'beta' into mergemaster
# Conflicts:
# src/main.cpp
6 years ago
kozyilmaz
4c2120c736
[macOS] use shlock instead of flock in fetch-params
7 years ago
kozyilmaz
3c3623ef23
[macOS] added curl method for param download
7 years ago
kpcyrd
076e177dd9
Prefer wget over ipfs
7 years ago
kpcyrd
3ccbbe31a4
Fetch params from ipfs if possible
Disable ipfs with ZC_DISABLE_IPFS=
7 years ago
Murilo Santana
5ad3193ac8
Fix sha256sum on busybox by using -c instead of --check
8 years ago
Kevin Gallagher
4bc627b6a3
Improves usability of fetch-params.sh
Remove the lockfile at the end (fixes #1731 )
Makes it clearer what happens in the script output if params already exist.
8 years ago
Kevin Gallagher
a885ee4668
Prefer sha256sum but fall back to shasum if not available
One is provided by coreutils, the other is a Perl module.
8 years ago
Sean Bowe
27e3f362f0
Zcash zk-SNARK public parameters for 1.0 "Sprout".
8 years ago
Kevin Gallagher
e3320f4f0f
Increases timeout to 30s, wait before retry to 3s
Default: 20 tries
8 years ago
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.
8 years ago
Sean Bowe
796c7ee52f
Update to `beta2` public parameters, remove `regtest`/`testnet3` parameters
subdirectories.
8 years ago
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 .
8 years ago
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.
8 years ago
Alfie John
70db019c6a
Updating wording to match Beta Guide
8 years ago
Alfie John
42c03d49f2
Typo in params README
8 years ago
Sean Bowe
393b2b7834
Update proving/verifying keys.
8 years ago
Sean Bowe
1477fd3f40
Remove the constraint system from the alpha proving key.
8 years ago
Sean Bowe
1744fec274
Update the zkSNARK parameters.
8 years ago
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
8 years ago
Alex
7e540a0b6f
add sha256sum support for Mac OS X
8 years ago
Sean Bowe
3e0af61b86
Update zkSNARK proving/verifying keys.
8 years ago
Sean Bowe
b8d320df19
Update public zkSNARK parameters for new circuit.
8 years ago
Taylor Hornby
b79bfd7a75
Remove sed hack from fetch-params.sh
9 years ago
Nathan Wilcox
c25c1d95cd
Add feature to resume downloads of params files.
9 years ago
Nathan Wilcox
6d9975e19b
Ignore certificate errors when fetching params. We already have sha256 integrity, no need for confidentiality/DNS authentication.
9 years ago
Nathan Wilcox
24f54da4f2
Add symlinks to the params files for testnet3.
9 years ago
Taylor Hornby
74e519aa2d
Update the SHA256 hashes for the new parameters.
9 years ago
Taylor Hornby
9d69acabed
Rename zerocash to Zcash.
9 years ago
Taylor Hornby
0c5b41f0ce
Copy zcutil/fetch-params.sh from the private alpha branch, changing the file names.
9 years ago