Skip to content

Commit 242fa15

Browse files
pixelplexFull-Hat
authored andcommitted
Add -c flag explanation in liteserver test node (ton-community#670)
* Add -c flag explanation in liteserver test node * Update links to mytonctrl master * Update examples & add -t flag explanation * Add -c flag explanation in liteserver test node * Update links to mytonctrl master --------- Co-authored-by: Full-Hat <nikita3131228@gmail.com>
1 parent 939786b commit 242fa15

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

docs/participate/run-nodes/enable-liteserver-node.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,30 @@ If you don't have mytonctrl, install it with `-m liteserver` flag:
3838

3939
```bash
4040
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
41-
sudo bash install.sh -m liteserver -d
41+
sudo bash ./install.sh -m liteserver
4242
```
4343

4444
</TabItem>
4545
<TabItem value={'debian'} label={'Debian'}>
4646

4747
```bash
4848
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
49-
su root -c 'bash install.sh -m liteserver -d'
49+
su root -c 'bash ./install.sh -m liteserver'
5050
```
5151

5252
</TabItem>
5353
</Tabs>
5454

55+
* `-d` - **mytonctrl** will download a [dump](https://dump.ton.org/) of the latest blockchain state.
56+
This will reduce synchronization time by several times.
57+
* `-c <path>` - If you want to use not public liteservers for synchronization. _(not required)_
58+
* `-i` - Ignore minimum requirements, use it only if you want to check compilation process without real node usage.
59+
* `-m` - Mode, can be `validator` or `liteserver`.
60+
61+
**To use testnet**, `-c` flag should be provided with `https://ton.org/testnet-global.config.json` value.
62+
63+
Default `-c` flag value is `https://ton-blockchain.github.io/global.config.json`, which is default mainnet config.
64+
5565
If you already have mytonctrl installed, run:
5666

5767
```bash

docs/participate/run-nodes/full-node.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ Download and run the installation script from the **non-root** user account with
105105

106106
```bash
107107
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
108-
sudo bash ./install.sh -d -c <CONFIG_URL>
108+
sudo bash install.sh
109109
```
110110

111111
</TabItem>
112112
<TabItem value={'debian'} label={'Debian'}>
113113

114114
```bash
115-
https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
116-
su root -c 'bash ./install.sh -d -c <CONFIG_URL>'
115+
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
116+
su root -c 'bash install.sh'
117117
```
118118

119119
</TabItem>

docs/participate/run-nodes/mytonctrl.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,12 @@ Example:
678678
MyTonInstaller> set_node_argument --state-ttl 3601
679679
```
680680
681+
Example:
682+
683+
```bash
684+
MyTonInstaller> set_node_argument --state-ttl 3601
685+
```
686+
681687
### enable
682688
683689
Enable one of the modes, for `ton-http-api` creates config

0 commit comments

Comments
 (0)