forked from hush/hush3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
855 B
20 lines
855 B
@echo off
|
|
call :GET_CURRENT_DIR
|
|
cd %THIS_DIR%
|
|
IF NOT EXIST %APPDATA%\ZcashParams (
|
|
MKDIR %APPDATA%\ZcashParams
|
|
)
|
|
IF NOT EXIST %APPDATA%\ZcashParams\sapling-spend.params (
|
|
ECHO Downloading Zcash trusted setup sapling-spend.key, this may take a while ...
|
|
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://z.cash/downloads/sapling-spend.params -O %APPDATA%\ZcashParams\sapling-spend.params
|
|
)
|
|
IF NOT EXIST %APPDATA%\ZcashParams\sapling-output.params (
|
|
ECHO Downloading Zcash trusted setup sapling-output.key, this may take a while ...
|
|
.\wget64.exe --progress=dot:giga --continue --retry-connrefused --waitretry=3 --timeout=30 https://z.cash/downloads/sapling-output.params -O %APPDATA%\ZcashParams\sapling-output.params
|
|
)
|
|
goto :EOF
|
|
:GET_CURRENT_DIR
|
|
pushd %~dp0
|
|
set THIS_DIR=%CD%
|
|
popd
|
|
goto :EOF
|
|
|