Skip to content

Commit d92ab1c

Browse files
authored
Merge pull request #245 from iotexproject/192
release v1.9.2
2 parents 5ab8840 + 88420c4 commit d92ab1c

File tree

3 files changed

+44
-24
lines changed

3 files changed

+44
-24
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020

2121
Here are the software versions we use:
2222

23-
- MainNet: v1.9.1
24-
- TestNet: v1.9.1
23+
- MainNet: v1.9.2
24+
- TestNet: v1.9.2
2525

2626
## <a name="mainnet"/>Join MainNet
2727
This is the recommended way to start an IoTeX node
2828

2929
1. Pull the docker image:
3030

3131
```
32-
docker pull iotex/iotex-core:v1.9.1
32+
docker pull iotex/iotex-core:v1.9.2
3333
```
3434

3535
2. Set the environment with the following commands:
@@ -44,9 +44,9 @@ mkdir -p $IOTEX_HOME/data
4444
mkdir -p $IOTEX_HOME/log
4545
mkdir -p $IOTEX_HOME/etc
4646
47-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
5050
```
5151

5252
3. Edit `$IOTEX_HOME/etc/config.yaml`, look for `externalHost` and `producerPrivKey`, uncomment the lines and fill in your external IP and private key. If you leave `producerPrivKey` empty, your node will be assgined with a random key.
@@ -86,7 +86,7 @@ docker run -d --restart on-failure --name iotex \
8686
-v=$IOTEX_HOME/log:/var/log:rw \
8787
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8888
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
89-
iotex/iotex-core:v1.9.1 \
89+
iotex/iotex-core:v1.9.2 \
9090
iotex-server \
9191
-config-path=/etc/iotex/config_override.yaml \
9292
-genesis-path=/etc/iotex/genesis.yaml
@@ -106,7 +106,7 @@ docker run -d --restart on-failure --name iotex \
106106
-v=$IOTEX_HOME/log:/var/log:rw \
107107
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
108108
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
109-
iotex/iotex-core:v1.9.1 \
109+
iotex/iotex-core:v1.9.2 \
110110
iotex-server \
111111
-config-path=/etc/iotex/config_override.yaml \
112112
-genesis-path=/etc/iotex/genesis.yaml \
@@ -127,7 +127,7 @@ Same as [Join MainNet](#mainnet) step 2
127127
```
128128
git clone https://github.com/iotexproject/iotex-core.git
129129
cd iotex-core
130-
git checkout v1.9.1
130+
git checkout v1.9.2
131131
132132
// optional
133133
export GOPROXY=https://goproxy.io
@@ -170,13 +170,13 @@ nohup $IOTEX_HOME/iotex-server \
170170
There's almost no difference to join TestNet, but in step 2, you need to use the config and genesis files for TestNet:
171171

172172
```
173-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
174-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
173+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
174+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
175175
```
176176

177177
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
178178

179-
In step 5, you need to replace the docker image in the `docker run` command line to `iotex/iotex-core:v1.9.1`
179+
In step 5, you need to replace the docker image in the `docker run` command line to `iotex/iotex-core:v1.9.2`
180180

181181
## <a name="ioctl"/>Interact with Blockchain
182182

README_CN.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
以下是当前我们使用的软件版本:
2121

22-
- 主网:v1.9.1
23-
- 测试网:v1.9.0
22+
- 主网:v1.9.2
23+
- 测试网:v1.9.2
2424

2525
## <a name="mainnet"/>加入主网
2626

@@ -29,7 +29,7 @@
2929
1. 提取(pull) docker镜像
3030

3131
```
32-
docker pull iotex/iotex-core:v1.9.1
32+
docker pull iotex/iotex-core:v1.9.2
3333
```
3434

3535
2. 使用以下命令设置运行环境
@@ -44,9 +44,9 @@ mkdir -p $IOTEX_HOME/data
4444
mkdir -p $IOTEX_HOME/log
4545
mkdir -p $IOTEX_HOME/etc
4646
47-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
5050
```
5151

5252
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -83,7 +83,7 @@ docker run -d --restart on-failure --name iotex \
8383
-v=$IOTEX_HOME/log:/var/log:rw \
8484
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8585
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
86-
iotex/iotex-core:v1.9.1 \
86+
iotex/iotex-core:v1.9.2 \
8787
iotex-server \
8888
-config-path=/etc/iotex/config_override.yaml \
8989
-genesis-path=/etc/iotex/genesis.yaml
@@ -101,7 +101,7 @@ docker run -d --restart on-failure --name iotex \
101101
-v=$IOTEX_HOME/log:/var/log:rw \
102102
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
103103
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
104-
iotex/iotex-core:v1.9.1 \
104+
iotex/iotex-core:v1.9.2 \
105105
iotex-server \
106106
-config-path=/etc/iotex/config_override.yaml \
107107
-genesis-path=/etc/iotex/genesis.yaml \
@@ -121,7 +121,7 @@ docker run -d --restart on-failure --name iotex \
121121
```
122122
git clone https://github.com/iotexproject/iotex-core.git
123123
cd iotex-core
124-
git checkout v1.9.1
124+
git checkout v1.9.2
125125
126126
// optional
127127
export GOPROXY=https://goproxy.io
@@ -158,13 +158,13 @@ nohup $IOTEX_HOME/iotex-server \
158158

159159
加入测试网络基本没有什么不同,只是在第二步,您需要使用以下的源文件:
160160
```
161-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
162-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
161+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
162+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.9.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
163163
```
164164

165165
在步骤四中,您需要使用针对于测试网络的数据快照: 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
166166

167-
在步骤五中,您需要将 `docker run`命令行中的 docker image替换成 `iotex/iotex-core:v1.9.1`
167+
在步骤五中,您需要将 `docker run`命令行中的 docker image替换成 `iotex/iotex-core:v1.9.2`
168168

169169
## <a name="ioctl"/>与区块链交互
170170

changelog/v1.9.2-release-note.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# v1.9.2 Release Note
2+
3+
## Summary
4+
v1.9.2 is a maintenance release, with the following fix:
5+
6+
1. Limit the maximum size of RPC response data to prevent node from running out
7+
of memory.
8+
9+
## Upgrade Priority
10+
If your node is running as gateway, it is recommended to upgrade to v1.9.2 to
11+
better protect it from potential out-of-memory attack.
12+
13+
| Node type | Action |
14+
| ---------- | ------------ |
15+
| Delegate | Not required |
16+
| Gateway | Recommended |
17+
| Fullnode | Not required |
18+
19+
## Commits In This Release
20+
1. [API] add batch size limit for jsonrpc [#3805](https://github.com/iotexproject/iotex-core/pull/3805)

0 commit comments

Comments
 (0)