File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,13 @@ if [ "$(id -u)" != "0" ]; then
1212 exit 1
1313fi
1414
15- author=" ton-blockchain"
16- repo=" mytonctrl"
15+ # author="ton-blockchain"
16+ # repo="mytonctrl"
17+ # branch="master"
18+ # mode="validator"
19+
20+ author=" tonstakers"
21+ repo=" mytonctrl-v2"
1722branch=" master"
1823mode=" validator"
1924
@@ -36,7 +41,10 @@ if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
3641fi
3742
3843# node install parameters
39- config=" https://ton-blockchain.github.io/global.config.json"
44+ # todo support parametr
45+ # config="https://ton-blockchain.github.io/global.config.json"
46+ config=" https://ton-blockchain.github.io/testnet-global.config.json"
47+
4048telemetry=true
4149ignore=false
4250dump=false
@@ -91,7 +99,9 @@ file3=${BIN_DIR}/ton/validator-engine-console/validator-engine-console
9199
92100if [ ! -f " ${file1} " ] || [ ! -f " ${file2} " ] || [ ! -f " ${file3} " ]; then
93101 echo " TON does not exists, building"
94- wget https://raw.githubusercontent.com/${author} /${repo} /${branch} /scripts/ton_installer.sh -O /tmp/ton_installer.sh
102+ # wget https://raw.githubusercontent.com/${author}/${repo}/${branch}/scripts/ton_installer.sh -O /tmp/ton_installer.sh
103+ wget https://raw.githubusercontent.com/tonstakers/mytonctrl-v2/master/scripts/ton_installer.sh -O /tmp/ton_installer.sh
104+ # todo set vas scrip patch
95105 bash /tmp/ton_installer.sh -c ${config}
96106fi
97107
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ if [ "$(id -u)" != "0" ]; then
99fi
1010
1111# Get arguments
12- config=https://ton-blockchain.github.io/global.config.json
12+ # todo set vars
13+ # config=https://ton-blockchain.github.io/global.config.json
14+ config=" https://ton-blockchain.github.io/testnet-global.config.json"
1315while getopts c: flag
1416do
1517 case " ${flag} " in
@@ -104,6 +106,9 @@ echo -e "${COLOR}[3/6]${ENDC} Preparing for compilation"
104106cd $SOURCES_DIR
105107rm -rf $SOURCES_DIR /ton
106108git clone --recursive https://github.com/ton-blockchain/ton.git
109+ cd $SOURCES_DIR /ton
110+ git checkout 5380e6f
111+ cd ../
107112git config --global --add safe.directory $SOURCES_DIR /ton
108113
109114# Подготавливаем папки для компиляции
You can’t perform that action at this time.
0 commit comments