Skip to content

Commit

Permalink
update mainnet get start docs (#2610)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwenxi authored Apr 2, 2021
1 parent 076eca5 commit 677e3d0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
8 changes: 2 additions & 6 deletions docs/get-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ order: 2
---

# Install

## Latest Version

The Latest IRIShub version for Mainnet is [v1.1.0](https://github.com/irisnet/irishub/releases/v1.1.0)

## Install `go`

::: tip
Expand Down Expand Up @@ -41,8 +36,9 @@ After setting up `go` correctly, you should be able to compile and run `iris`.
Make sure that your server can access to google.com because our project depends on some libraries provided by google. (If you are not able to access google.com, you can also try to add a proxy: `export GOPROXY=https://goproxy.io`)

```bash
git clone --branch v1.1.0 https://github.com/irisnet/irishub
git clone https://github.com/irisnet/irishub
cd irishub
git checkout <version>
make install
```

Expand Down
13 changes: 13 additions & 0 deletions docs/get-started/mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ order: 3

## Run a Full Node

### Start node from genesis

:::tip
You must use irishub [v1.0.1](https://github.com/irisnet/irishub/releases/tag/v1.0.1) to initialize your node.
:::

```bash
# initialize node configurations
iris init <moniker> --chain-id=irishub-1
Expand All @@ -22,6 +28,13 @@ curl -o ~/.iris/config/genesis.json https://raw.githubusercontent.com/irisnet/ma
iris start
```

Next, your node will process all chain upgrades. Between each upgrade, you must use the specified version to catch up with the block. Don't worry about using the old version at the upgrade height,the node will be halted automatically.

| Proporal | Start height | Upgrade height | irishub version |
| -------- | ------------ | -------------- | ----- |
| genesis | 9146456 | 9593205 | [v1.0.1](https://github.com/irisnet/irishub/releases/tag/v1.0.1) |
| [#1](https://irishub.iobscan.io/#/ProposalsDetail/1) | 9593205 | | [v1.1.0](https://github.com/irisnet/irishub/releases/tag/v1.1.0) |

:::tip
You may see some connection errors, it does not matter, the P2P network is trying to find available connections

Expand Down
8 changes: 2 additions & 6 deletions docs/zh/get-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ order: 2
---

# 安装

## 最新版本

IRIShub 主网的最新版本是[v1.1.0](https://github.com/irisnet/irishub/releases/v1.1.0)

## 安装`go`

:::tip
Expand Down Expand Up @@ -41,8 +36,9 @@ go version
请确保您的服务器可以访问 google.com,因为我们的项目依赖于google提供的某些库(如果您无法访问`google.com`,也可以尝试添加代理:`export GOPROXY=https://goproxy.io`

```bash
git clone --branch v1.1.0 https://github.com/irisnet/irishub
git clone https://github.com/irisnet/irishub
cd irishub
git checkout <version>
make install
```

Expand Down
13 changes: 13 additions & 0 deletions docs/zh/get-started/mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ order: 3

## 运行全节点

### Start node from genesis

:::tip
必须使用 irishub [v1.0.1](https://github.com/irisnet/irishub/releases/tag/v1.0.1) 初始化你的节点
:::

```bash
# 初始化节点
iris init <moniker> --chain-id=irishub-1
Expand All @@ -22,6 +28,13 @@ curl -o ~/.iris/config/genesis.json https://raw.githubusercontent.com/irisnet/ma
iris start
```

接下来,你的节点将执行所有链升级过程。在每次升级之间,你必须使用特定的版本同步区块。不用担心在升级高度使用旧版本,节点会自动停止。

| 提案 | 起始高度 | 升级高度 | irishub 版本 |
| -------- | ------------ | -------------- | ----- |
| genesis | 9146456 | 9593205 | [v1.0.1](https://github.com/irisnet/irishub/releases/tag/v1.0.1) |
| [#1](https://irishub.iobscan.io/#/ProposalsDetail/1) | 9593205 | | [v1.1.0](https://github.com/irisnet/irishub/releases/tag/v1.1.0) |

:::tip
您可能会看到一些连接错误,这没关系,P2P网络正在尝试查找可用的连接

Expand Down

0 comments on commit 677e3d0

Please sign in to comment.