Within the realm of nodes, there are distinct types tailored for specific purposes. For instance, archive nodes specialize in storing comprehensive historical data of the blockchain and providing it upon request. This sets them apart from full nodes, which focus on recent blockchain states, and light nodes, primarily reliant on data from full nodes. Archive nodes build archival blockchain data quickly and efficiently, and they’re useful for querying arbitrary historical data, like a user’s balances on a specific block.Documentation Index
Fetch the complete documentation index at: https://docs.skale.space/llms.txt
Use this file to discover all available pages before exploring further.
General Steps
- Provision a machine.
- Notify core team of IP/IPs range (
x.x.x.x:x.x.x.x) and SKALE Chain for archive. - Complete archive node setup.
Recommended Machine Requirements
- A Linux x86_64 machine
- Ubuntu 20.04
- 4 physical cores
- 16GB RAM
- 100GB root storage
- 2TB attached storage
Node Network Requirements
- Ports 80, 443, 3009, and 10000–18192, and ICMP IPv4 should not be closed by any firewall software.
Node Software Prerequisites
- 8GB Swap
- docker
- docker-compose → 1.29.2
- iptables-persistent, btrfs-progs, lsof, lvm2, psmisc, and apt packages
From Fresh Machine
SKALE Archive Node Implementation
Before proceeding, notify the core team of the IP address of your archive node. It’s suggested to use an elastic IP for the whitelisted IP address.
-
Download sync-node-cli tool
-
Verify checksum
-
Apply executable permissions to the downloaded binary:
-
Test the installation
-
Prepare
.envfile: -
Init archive node:
. Wait until your archive node will be inited. . After the node is successfully inited, wait until chain container will download the snapshot and starts catchup blocks (usually 15–30 minutes).
Setup SSL certs
Node SSL certificates support secure communication with chain endpoints. By default, each node of a SKALE Chain listens on HTTP and WS ports. If SSL certs exist on the node, then HTTPS and WSS ports are also turned on. To upload SSL certs to the node run:Update archive node
Update archive SKALE node on current machine--yes- update without additional confirmation
ENV_FILEPATH- path to env file where parameters are defined
You can just update a file with environment variables used during
sudo skale sync-node init.