@@ -29,7 +29,7 @@ This is the recommended way to start an IoTeX node
29
29
1 . Pull the docker image:
30
30
31
31
```
32
- docker pull iotex/iotex-core:v1.8.2
32
+ docker pull iotex/iotex-core:v1.8.4
33
33
```
34
34
35
35
2 . Set the environment with the following commands:
@@ -44,9 +44,9 @@ mkdir -p $IOTEX_HOME/data
44
44
mkdir -p $IOTEX_HOME/log
45
45
mkdir -p $IOTEX_HOME/etc
46
46
47
- curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.2 /config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48
- curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.2 /genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49
- curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.2 /trie.db.patch > $IOTEX_HOME/data/trie.db.patch
47
+ curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.4 /config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48
+ curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.4 /genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49
+ curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.4 /trie.db.patch > $IOTEX_HOME/data/trie.db.patch
50
50
```
51
51
52
52
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 \
86
86
-v=$IOTEX_HOME/log:/var/log:rw \
87
87
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
88
88
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
89
- iotex/iotex-core:v1.8.2 \
89
+ iotex/iotex-core:v1.8.4 \
90
90
iotex-server \
91
91
-config-path=/etc/iotex/config_override.yaml \
92
92
-genesis-path=/etc/iotex/genesis.yaml
@@ -106,7 +106,7 @@ docker run -d --restart on-failure --name iotex \
106
106
-v=$IOTEX_HOME/log:/var/log:rw \
107
107
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
108
108
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
109
- iotex/iotex-core:v1.8.2 \
109
+ iotex/iotex-core:v1.8.4 \
110
110
iotex-server \
111
111
-config-path=/etc/iotex/config_override.yaml \
112
112
-genesis-path=/etc/iotex/genesis.yaml \
@@ -127,7 +127,7 @@ Same as [Join MainNet](#mainnet) step 2
127
127
```
128
128
git clone https://github.com/iotexproject/iotex-core.git
129
129
cd iotex-core
130
- git checkout v1.8.2
130
+ git checkout v1.8.4
131
131
132
132
// optional
133
133
export GOPROXY=https://goproxy.io
@@ -170,8 +170,8 @@ nohup $IOTEX_HOME/iotex-server \
170
170
There's almost no difference to join TestNet, but in step 2, you need to use the config and genesis files for TestNet:
171
171
172
172
```
173
- curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.2 /config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
174
- curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.2 /genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
173
+ curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.4 /config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
174
+ curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.8.4 /genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
175
175
```
176
176
177
177
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
0 commit comments