forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #458 from gcharang/dev
adds fetch-params script that still uses zcash url
- Loading branch information
Showing
4 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@echo off | ||
call :GET_CURRENT_DIR | ||
cd %THIS_DIR% | ||
IF NOT EXIST "%APPDATA%"\ZcashParams ( | ||
MKDIR "%APPDATA%"\ZcashParams | ||
) | ||
IF NOT EXIST "%APPDATA%"\ZcashParams\sprout-proving.key ( | ||
ECHO Downloading Zcash trusted setup sprout-proving.key, this may take a while ... | ||
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://komodoplatform.com/downloads/sprout-proving.key -O "%APPDATA%"\ZcashParams\sprout-proving.key | ||
) | ||
IF NOT EXIST "%APPDATA%"\ZcashParams\sprout-verifying.key ( | ||
ECHO Downloading Zcash trusted setup sprout-verifying.key, this may take a while ... | ||
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://komodoplatform.com/downloads/sprout-verifying.key -O "%APPDATA%"\ZcashParams\sprout-verifying.key | ||
) | ||
IF NOT EXIST "%APPDATA%"\ZcashParams\sapling-spend.params ( | ||
ECHO Downloading Zcash trusted setup sprout-proving.key, this may take a while ... | ||
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://komodoplatform.com/downloads/sapling-spend.params -O "%APPDATA%"\ZcashParams\sapling-spend.params | ||
) | ||
IF NOT EXIST "%APPDATA%"\ZcashParams\sapling-output.params ( | ||
ECHO Downloading Zcash trusted setup sprout-verifying.key, this may take a while ... | ||
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://komodoplatform.com/downloads/sapling-output.params -O "%APPDATA%"\ZcashParams\sapling-output.params | ||
) | ||
IF NOT EXIST "%APPDATA%"\ZcashParams\sprout-groth16.params ( | ||
ECHO Downloading Zcash trusted setup sprout-verifying.key, this may take a while ... | ||
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://komodoplatform.com/downloads/sprout-groth16.params -O "%APPDATA%"\ZcashParams\sprout-groth16.params | ||
) | ||
goto :EOF | ||
:GET_CURRENT_DIR | ||
pushd %~dp0 | ||
set THIS_DIR=%CD% | ||
popd | ||
goto :EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters