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
> mainnet-data-with-idx-latest.tar.gz will be update on Monday every week
77
+
If you need to run your node in archive mode to provide full historical data, please go to [Archive Node](./archive-node.md).
106
78
107
79
- Optional 2: If you only want to sync chain data from 0 height without relaying on legacy delegate election data from Ethereum, you can setup legacy delegate election data with following command:
- Optional 3: If you want to sync the chain from 0 height and also fetching legacy delegate election data from Ethereum, please change the `gravityChainAPIs` in config.yaml to use your infura key with Ethereum archive mode supported or change the API endpoint to an Ethereum archive node which you can access.
6. Ensure that TCP ports `4689` and `8080` are open on your firewall and load balancer (if applicable). Additionally, if you intend to use the node as a gateway, make sure the following ports are open:
124
+
7. Ensure that TCP ports `4689` and `8080` are open on your firewall and load balancer (if applicable). Additionally, if you intend to use the node as a gateway, make sure the following ports are open:
> testnet-data-with-idx-latest.tar.gz will be update on Monday every week
106
-
107
76
- Optional 2: If you only want to sync chain data from 0 height without relaying on legacy delegate election data from Ethereum, you can setup legacy delegate election data with following command:
108
77
```bash
109
78
curl -L https://storage.iotex.io/poll.testnet.tar.gz >$IOTEX_HOME/poll.tar.gz; tar -xzf $IOTEX_HOME/poll.tar.gz --directory $IOTEX_HOME/data
110
79
```
111
80
112
81
- Optional 3: If you want to sync the chain from 0 height and also fetching legacy delegate election data from Ethereum, please change the `gravityChainAPIs` in config.yaml to use your infura key with Ethereum archive mode supported or change the API endpoint to an Ethereum archive node which you can access.
Copy file name to clipboardExpand all lines: archive-node.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,7 @@ time the tx was originally executed.
8
8
9
9
This archive node is an **optimized version** with significant performance improvements and storage optimizations. However, please note that:
10
10
11
-
-**Data files from previous archive node versions are NOT compatible** with this optimized version
12
-
- If you are upgrading from a previous archive node setup, you **cannot** reuse existing data files
11
+
-**Data files from any previous archive node builds (including earlier test/archive branches) are NOT compatible**, so you **cannot** reuse existing data files
13
12
- You **MUST** either:
14
13
-**Download the provided snapshot data** (recommended for faster setup)
15
14
- Or **perform a complete resync from genesis** (time-consuming but ensures full verification)
@@ -19,9 +18,12 @@ The following instrcutions will guide you through setting up an IoTeX archive no
Copy file name to clipboardExpand all lines: changelog/v2.3.3-release-note.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,14 @@ restart your node with the new v2.3.3 image.
13
13
### 1. Archive Mode Support
14
14
v2.3.3 officially introduces **Archive Mode**, which stores complete historical state data for all blocks. This mode is essential for applications that need to query historical blockchain states at any point in time.
15
15
16
+
To enable archive mode, set `chain.historyIndexPath` in `config.yaml` to the directory where historical state files will be stored.
17
+
18
+
16
19
### 2. Prune Mode Support
17
20
v2.3.3 introduces **Prune Mode**, which maintains only the most recent 256 blocks of historical state data. This mode significantly reduces storage requirements while still providing recent state access for most operational needs.
18
21
22
+
To enable prune mode, first enable archive mode, then set `chain.historyBlockRetention` in `config.yaml` to the number of recent blocks whose state you want to retain.
23
+
19
24
### 3. Block Synchronization Optimization
20
25
Significant improvements have been made to the block synchronization mechanism to enhance sync speed, reliability, and network efficiency.
0 commit comments