Skip to content

Commit d7b40b4

Browse files
authored
Merge pull request #309 from crypto-org-chain/aw126-patch-15
Update the outdated binary info in mainnet_validator.md
2 parents 6965d34 + f39a065 commit d7b40b4

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/getting-started/mainnet_validator.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Crypto.org Mainnet: Running a Validator
22

33

4-
This is a detailed documentation for setting up a **Validator** on Crypto.org mainnet. Note that while anyone can set up a validator, only the top 100 validators are considered "active" and eligible to receive rewards. See [FAQs](https://github.com/crypto-org-chain/chain-main/discussions/442) for more info.
4+
This is detailed documentation for setting up a **Validator** on Crypto.org mainnet. Note that while anyone can set up a validator, only the top 100 validators are considered "active" and eligible to receive rewards. See [FAQs](https://github.com/crypto-org-chain/chain-main/discussions/442) for more info.
55

6-
## Step 0 : Notes on network upgrades
6+
## Step 0: Notes on network upgrades
77

8-
There are two ways to setup a node:
8+
There are two ways to set up a node:
99

1010
1. For the host who would like to build a **Validator with complete blockchain data** from scratch,
11-
- Note that there were serveral breaking network upgrades, requiring upgrading at designated block heights.
11+
- Note that there were several breaking network upgrades, requiring upgrading at designated block heights.
1212
For more details on how to upgrade, we refer to this [guide](./mainnet.html#crypto-org-mainnet-running-a-full-node.md) on running a full node.
1313
- Once you have a complete synced node, you can revisit this page and jump to the [step](#step-3-5-joining-the-network-as-a-validator-send-a-create-validator-transaction) of joining the networking as a validator.
1414

1515
2. For hosts who would like to **join the network and start validating quickly**, one can:
16-
- Begin with the binary `v3.3.9` and join the network by `STATE-SYNC`
16+
- Begin with the binary `v4.2.6` and join the network by `STATE-SYNC`
1717

18-
To simplify this guide, we will be covering the **second case** here in this guide, and guide you to begin with binary `v3.3.9` and join the network by `STATE-SYNC`.
18+
To simplify this guide, we will be covering the **second case** here in this guide, and guide you to begin with binary `v4.2.6` and join the network by `STATE-SYNC`.
1919

2020

2121
## Pre-requisites
@@ -54,7 +54,7 @@ The following is the minimal setup to join Crypto.org Chain Mainnet. Furthermore
5454

5555

5656
To simplify the following step, we will be using **Linux** for illustration. Binary for
57-
[Mac](https://github.com/crypto-org-chain/chain-main/releases/download/v3.3.9/chain-main_3.3.9_Darwin_x86_64.tar.gz) and [Windows](https://github.com/crypto-org-chain/chain-main/releases/download/v3.3.9/chain-main_3.3.9_Windows_x86_64.zip) are also available.
57+
[Mac](https://github.com/crypto-org-chain/chain-main/releases/download/v4.2.6/chain-main_4.2.6_Darwin_x86_64.tar.gz) and [Windows](https://github.com/crypto-org-chain/chain-main/releases/download/v4.2.6/chain-main_4.2.6_Windows_x86_64.zip) are also available.
5858

5959
There are two options to install `chain-maind`:
6060
- [Directly from Github](#option-1-install-chain-maind-released-binaries-from-github); or
@@ -66,22 +66,22 @@ There are two options to install `chain-maind`:
6666
- To install Crypto.org Chain binaries from Github:
6767

6868
```bash
69-
$ curl -LOJ https://github.com/crypto-org-chain/chain-main/releases/download/v3.3.9/chain-main_3.3.9_Linux_x86_64.tar.gz
70-
$ tar -zxvf chain-main_3.3.9_Linux_x86_64.tar.gz
69+
$ curl -LOJ https://github.com/crypto-org-chain/chain-main/releases/download/v4.2.6/chain-main_4.2.6_Linux_x86_64.tar.gz
70+
$ tar -zxvf chain-main_4.2.6_Linux_x86_64.tar.gz
7171
```
7272

73-
- You can verify the installation by checking the version of the chain-maind, the current version is `3.3.9`.
73+
- You can verify the installation by checking the version of the chain-maind, the current version is `4.2.6`.
7474
```bash
7575
# check the version of chain-maind
7676
$ ./chain-maind version
77-
3.3.9
77+
4.2.6
7878
```
7979
**OR**
8080

8181
### Option 2 - Install `chain-maind` by homebrew
8282

8383
::: tip Reminder:
84-
- If you plan to play around with different networks (mainnet and testnet), we suggest you to follow the `Option 1` to download the binary directly.
84+
- If you plan to play around with different networks (mainnet and testnet), we suggest you follow `Option 1` to download the binary directly.
8585

8686
- The binary downloaded from homebrew is **only for interacting with mainnet**. You cannot use it to interact with testnet.
8787
:::
@@ -107,15 +107,15 @@ To install binaries in Homebrew for macOS X or Linux
107107
```bash
108108
# check the version of chain-maind
109109
$ chain-maind version
110-
3.3.9
110+
4.2.6
111111
```
112112
## Step 2. Configure `chain-maind`
113113

114114
Before kick-starting your node, we will have to configure the node so that it connects to the Crypto.org mainnet
115115

116116
::: tip NOTE
117117

118-
- Depending on your `chain-maind` home setting, the `chain-maind` configuration will be initialized to that home directory. To simply the following steps, we will use the default chain-maind home directory `~/.chain-maind/` for illustration.
118+
- Depending on your `chain-maind` home setting, the `chain-maind` configuration will be initialized to that home directory. To simplify the following steps, we will use the default chain-maind home directory `~/.chain-maind/` for illustration.
119119
- You can also put the `chain-maind` to your binary path and run it directly by `chain-maind`
120120
:::
121121
### Step 2-1. Initialize `chain-maind`
@@ -172,14 +172,14 @@ Before kick-starting your node, we will have to configure the node so that it co
172172
$ sed -i.bak -E 's#^(create_empty_blocks_interval[[:space:]]+=[[:space:]]+).*$#\1"5s"#' ~/.chain-maind/config/config.toml
173173
```
174174
:::tip Reminder:
175-
The list of the `seed` is subjected to change, you can also find the latest seed to connect [here](https://github.com/crypto-org-chain/mainnet#seed-nodes)
175+
The list of the `seed` is subject to change, you can also find the latest seed to connect [here](https://github.com/crypto-org-chain/mainnet#seed-nodes)
176176
:::
177177

178178

179179
### Step 2-3. Enable STATE-SYNC
180180

181181

182-
With [STATE-SYNC](https://docs.tendermint.com/master/tendermint-core/state-sync.html) your node will download data related to the head or near the head of the chain and verify the data. This leads to drastically shorter times for joining a network for validator. For **validator**, It will be amazingly fast to sync the near head of the chain and join the network.
182+
With [STATE-SYNC](https://docs.tendermint.com/v0.34/tendermint-core/state-sync.html) your node will download data related to the head or near the head of the chain and verify the data. This leads to drastically shorter times for joining a network for validators. For **validators**, it will be amazingly fast to sync the near head of the chain and join the network.
183183
::: warning CAUTION
184184
Blocks before state-sync `trust height` will **NOT** be queryable. If you want to run a **full node** or a validator with complete blockchain data; It is not suggested to use state-sync. Kindly refer to this [guide](./mainnet.html#crypto-org-mainnet-running-a-full-node) on building a node with complete data.
185185
:::
@@ -205,7 +205,7 @@ Follow the below steps to enable state-sync:
205205
- For Mac environment, if `jq` is missing, you may install it by: `brew install jq`
206206
:::
207207

208-
**Note**: We suggest using `persistent_peers` instead of `seeds` to provide stable state-sync experience.
208+
**Note**: We suggest using `persistent_peers` instead of `seeds` to provide a stable state-sync experience.
209209

210210
## Step 3. Run everything
211211

@@ -219,7 +219,7 @@ Once the `chain-maind` has been configured, we are ready to start the node and s
219219
$ ./chain-maind start
220220
```
221221
**OR**
222-
- _(Optional for Linux)_ If you would like to have it running at the background, you can start `chain-maind` with `systemd` service, e.g.:
222+
- _(Optional for Linux)_ If you would like to have it running in the background, you can start `chain-maind` with `systemd` service, e.g.:
223223

224224
```bash
225225
$ git clone https://github.com/crypto-org-chain/chain-main.git && cd chain-main

0 commit comments

Comments
 (0)