Adding fetch_params.bat and dependency for verus-cli for Windows

This commit is contained in:
Asher Dawes
2018-06-03 17:35:24 -07:00
parent 5efe81bddd
commit bec43cd23b
3 changed files with 21 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,5 @@
*.tar.gz
*.deb
*.exe
src/bitcoin
src/zcashd
src/zcash-cli

View File

@@ -0,0 +1,21 @@
@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://zensystem.io/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://z.cash/downloads/sprout-verifying.key -O %APPDATA%\ZcashParams\sprout-verifying.key
)
goto :EOF
:GET_CURRENT_DIR
pushd %~dp0
set THIS_DIR=%CD%
popd
goto :EOF

Binary file not shown.