-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfast_yenten.bat
36 lines (27 loc) · 1.24 KB
/
fast_yenten.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
rem easy start Yenten wallet with last blockchain by Bubasik
rem https://eternallybored.org/misc/wget/
rem http://gnuwin32.sourceforge.net/packages/unzip.htm
REM create folder yenten and data
MD C:\yenten
MD C:\yenten\data
REM download yenten wallet
wget.exe -P c:\yenten -nc https://github.com/yentencoin/yenten/releases/download/3.1.0/yenten_win64_3_1_0.zip
unzip.exe c:\yenten\yenten_win64_3_1_0 -d c:\yenten\
rem move C:\yenten\yenten_win64_3_1_0\yenten-qt.exe c:\yenten\
REM create start bat file
Echo C:\yenten\yenten-qt -datadir=C:\yenten\data > C:\yenten\yenten.bat
REM download archive blockchain
wget.exe -P c:\yenten -nc http://yenten-pool.info/faucet/blocks_yenten_last.zip
REM unzip blockchain
unzip.exe c:\yenten\blocks_yenten_last.zip -d c:\yenten\data
REM move folders
move C:\yenten\data\root\blocks_yenten\blocks c:\yenten\data
move C:\yenten\data\root\blocks_yenten\chainstate c:\yenten\data
move C:\yenten\data\root\blocks_yenten\hashes c:\yenten\data
move C:\yenten\data\root\blocks_yenten\.lock c:\yenten\data
move C:\yenten\data\root\blocks_yenten\db.log c:\yenten\data
move C:\yenten\data\root\blocks_yenten\peers.dat c:\yenten\data
REM start Yenten wallet
cd c:\yenten
start C:\yenten\yenten.bat
pause