Skip to content

Commit f05d07f

Browse files
authored
pre-release v1.11 for testnet (#252)
1 parent 4b59dbe commit f05d07f

File tree

6 files changed

+572
-56
lines changed

6 files changed

+572
-56
lines changed

README.md

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
- [Upgrade Your Node(One Line Upgrader)](#upgrade)
1616
- [Q&A](#qa)
1717

18-
1918
## <a name="status"/>Release Status
2019

2120
Here are the software versions we use:
2221

23-
- IoTeX Mainnet: v1.10.1
24-
- IoTeX Testnet: v1.10.1
22+
- IoTeX MainNet: v1.10.1
2523

26-
<!--
27-
- MainNet: v1.9.2
28-
- TestNet: v1.9.2
29-
-->
24+
## <a name="testnet"/>Join TestNet
25+
To start and run a testnet node, please click [**Join Testnet**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README_testnet.md)
3026

3127
## <a name="mainnet"/>Join MainNet
3228
This is the recommended way to start an IoTeX node
@@ -170,22 +166,8 @@ nohup $IOTEX_HOME/iotex-server \
170166

171167
6. Make sure TCP ports 4689, 8080 (also 14014 if used) are open on your firewall and load balancer (if any).
172168

173-
## <a name="testnet"/>Join TestNet
174-
175-
There's almost no difference to join TestNet, but in step 2, you need to use the config and genesis files for TestNet:
176-
177-
```
178-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.10.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
179-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.10.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
180-
```
181-
182-
In step 4, you need to use the snapshot for TestNet: https://t.iotex.me/testnet-data-latest and https://t.iotex.me/testnet-data-with-idx-latest. If you need legacy delegate election data(poll.db) for TestNet, you can download it here: https://storage.googleapis.com/blockchain-golden/poll.testnet.tar.gz
183-
184-
In step 5, you need to replace the docker image in the `docker run` command line to `iotex/iotex-core:v1.10.1`
185-
186169
## <a name="ioctl"/>Interact with Blockchain
187170

188-
189171
### ioctl
190172

191173
You can install `ioctl` (a command-line interface for interacting with IoTeX blockchain)
@@ -200,12 +182,10 @@ You can point `ioctl` to your node (if you enable the [gateway](#gateway) plugin
200182
ioctl config set endpoint localhost:14014 --insecure
201183
```
202184

203-
Or you can point it to our nodes:
185+
Or you can point it to our API nodes:
204186

205187
- MainNet secure: `api.iotex.one:443`
206188
- MainNet insecure: `api.iotex.one:80`
207-
- TestNet secure: `api.testnet.iotex.one:443`
208-
- TestNet insecure: `api.testnet.iotex.one:80`
209189

210190
If you want to set an insecure endpoint, you need to add `--insecure` option.
211191

@@ -240,7 +220,6 @@ Our node supports most of methods of [Ethereum's JSON-RPC protocol](https://eth.
240220

241221
Additional method support could be requested [here](https://github.com/iotexproject/iotex-core/issues).
242222

243-
244223
## <a name="log"/>Enable Logrotate
245224
`logrotate` is pre-installed when building the image. But `crond` (daemon to execute scheduled commands) doesn't automatically start when the docker contaiter starts in alpine linux.
246225

@@ -295,12 +274,6 @@ sudo bash # If your docker requires root privilege
295274
bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
296275
```
297276

298-
To upgarde testnet node, just add `testnet` in the end of the command.
299-
```bash
300-
sudo bash # If your docker requires root privilege
301-
bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet
302-
```
303-
304277
Currently, auto upgrade is turned on by default. To disable this feature, enter `N` when asked following question:
305278
```bash
306279
Do you want to auto update the node [Y/N] (Default: Y)? N
@@ -314,6 +287,5 @@ bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/ma
314287
## <a name="gateway"/> Gateway Plugin
315288
Node with gateway plugin enabled will perform extra indexing to serve API requests of more detail chain information, such as number of actions in a block or query actions by hash.
316289

317-
318290
## <a name="qa"/>Q&A
319291
Please refer [here](https://github.com/iotexproject/iotex-bootstrap/wiki/Q&A) for Q&A.

README_CN.md

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
- [网关插件](#gateway)
1515
- [常见问题](#qa)
1616

17-
1817
## <a name="status"/>发布状态
1918

2019
以下是当前我们使用的软件版本:
2120

22-
- 主网:v1.10.0
23-
- 测试网:v1.10.0
21+
- 主网:v1.10.1
22+
23+
## <a name="testnet"/>加入测试网
24+
如果你要启动节点加入测试网,请点击[**加入测试网**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README_CN_testnet.md)
2425

2526
## <a name="mainnet"/>加入主网
2627

@@ -154,18 +155,6 @@ nohup $IOTEX_HOME/iotex-server \
154155

155156
6. 确保您的防火墙和负载均衡器(如果有)上的TCP端口4689, 8080(14014如果节点启用了网关)已打开。
156157

157-
## <a name="testnet"/>加入测试网络
158-
159-
加入测试网络基本没有什么不同,只是在第二步,您需要使用以下的源文件:
160-
```
161-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.10.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
162-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.10.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
163-
```
164-
165-
在步骤四中,您需要使用针对于测试网络的数据快照: https://t.iotex.me/testnet-data-latesthttps://t.iotex.me/testnet-data-with-idx-latest (如果节点启用了网关). 如果您需要使用测试网中旧的节点代表数据(poll.db),可以在此处下载: https://storage.googleapis.com/blockchain-golden/poll.testnet.tar.gz
166-
167-
在步骤五中,您需要将 `docker run`命令行中的 docker image替换成 `iotex/iotex-core:v1.10.1`
168-
169158
## <a name="ioctl"/>与区块链交互
170159

171160
你可以安装 `ioctl` (用于与IoTeX区块链交互的命令行工具)
@@ -179,12 +168,10 @@ curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cl
179168
ioctl config set endpoint localhost:14014 --insecure
180169
```
181170

182-
或者您可以将它指向我们的节点:
171+
或者您可以将它指向我们的API节点:
183172

184173
- 主网安全端口: `api.iotex.one:443`
185174
- 主网非安全端口: `api.iotex.one:80`
186-
- 测试网安全端口: `api.testnet.iotex.one:443`
187-
- 测试网非安全端口: `api.testnet.iotex.one:80`
188175

189176
如果你准备使用非安全端口,你需要添加`--insecure`参数。
190177

@@ -263,12 +250,6 @@ sudo bash # If your docker requires root privilege
263250
bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
264251
```
265252

266-
如果需要升级测试网节点,只需在命令末尾添加 `testnet`
267-
```bash
268-
sudo bash # If your docker requires root privilege
269-
bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet
270-
```
271-
272253
目前,节点自动升级默认开启。如果需要禁用此功能,请在系统询问以下问题时输入“N”:
273254
```bash
274255
Do you want to auto update the node [Y/N] (Default: Y)? N

0 commit comments

Comments
 (0)