You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/mainnet_validator.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
# Crypto.org Mainnet: Running a Validator
2
2
3
3
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.
5
5
6
-
## Step 0: Notes on network upgrades
6
+
## Step 0: Notes on network upgrades
7
7
8
-
There are two ways to setup a node:
8
+
There are two ways to set up a node:
9
9
10
10
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.
12
12
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.
13
13
- 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.
14
14
15
15
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`
17
17
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`.
19
19
20
20
21
21
## Pre-requisites
@@ -54,7 +54,7 @@ The following is the minimal setup to join Crypto.org Chain Mainnet. Furthermore
54
54
55
55
56
56
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.
58
58
59
59
There are two options to install `chain-maind`:
60
60
-[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`:
66
66
- To install Crypto.org Chain binaries from Github:
- 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`.
74
74
```bash
75
75
# check the version of chain-maind
76
76
$ ./chain-maind version
77
-
3.3.9
77
+
4.2.6
78
78
```
79
79
**OR**
80
80
81
81
### Option 2 - Install `chain-maind` by homebrew
82
82
83
83
::: 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.
85
85
86
86
- The binary downloaded from homebrew is **only for interacting with mainnet**. You cannot use it to interact with testnet.
87
87
:::
@@ -107,15 +107,15 @@ To install binaries in Homebrew for macOS X or Linux
107
107
```bash
108
108
# check the version of chain-maind
109
109
$ chain-maind version
110
-
3.3.9
110
+
4.2.6
111
111
```
112
112
## Step 2. Configure `chain-maind`
113
113
114
114
Before kick-starting your node, we will have to configure the node so that it connects to the Crypto.org mainnet
115
115
116
116
::: tip NOTE
117
117
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.
119
119
- You can also put the `chain-maind` to your binary path and run it directly by `chain-maind`
120
120
:::
121
121
### 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
172
172
$ sed -i.bak -E 's#^(create_empty_blocks_interval[[:space:]]+=[[:space:]]+).*$#\1"5s"#'~/.chain-maind/config/config.toml
173
173
```
174
174
:::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)
176
176
:::
177
177
178
178
179
179
### Step 2-3. Enable STATE-SYNC
180
180
181
181
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 timesfor joining a network forvalidator. 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 timesfor joining a network forvalidators. For **validators**, it will be amazingly fast to sync the near head of the chain and join the network.
183
183
::: warning CAUTION
184
184
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.
185
185
:::
@@ -205,7 +205,7 @@ Follow the below steps to enable state-sync:
205
205
- For Mac environment, if`jq` is missing, you may install it by: `brew install jq`
206
206
:::
207
207
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.
209
209
210
210
## Step 3. Run everything
211
211
@@ -219,7 +219,7 @@ Once the `chain-maind` has been configured, we are ready to start the node and s
219
219
$ ./chain-maind start
220
220
```
221
221
**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 forLinux)_ If you would like to have it runningin the background, you can start `chain-maind` with `systemd` service, e.g.:
0 commit comments