The Full-Sync Node is an available software implementation of a read-only SKALE Node that can help decrease the load on the core nodes of your chain. Applications are commonly read-heavy compared to writes, meaning they pull data from the chain more often than push them. For applications that contain many reads, a full-sync node can help increase chain stability and speed by reducing the number of actions the core nodes on the chain must do, leaving them with a more extraordinary ability to handle transactions.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 full-sync. - Complete Full Sync setup
Node Machine Requirements
- A Linux x86_64 machine
- Ubuntu 22.04
- 8 vCPUs
- 16GB RAM
- 100GB root storage
- 256GB attached storage for MEDIUM chain
- 2TB attached storage for LARGE chain
Node Network Requirements
- Ports 80, 443, 3009, and 10000–18192, and ICMP IPv4 shouldn’t be closed by external firewall
Node Software Prerequisites
- 16GB Swap
- docker
- docker-compose → 1.27.4
- iptables-persistent, btrfs-progs, lsof, lvm2, psmisc, and apt packages
From Fresh Machine
Before proceeding, notify the core team of the IP address of your full-sync node. It’s suggested to use an elastic IP for the whitelisted IP address.
Installation
-
Download sync-node-cli tool
-
Apply executable permissions to the downloaded binary:
-
Test the installation
-
Prepare
.envfile: -
Init sync node:
-
Wait until your sync node will be inited
-
After the node is successfully inited, wait until
skaledwill download the snapshot and starts catchup blocks (usually 15–30 minutes)
Setup SSL certs
Node SSL certificates support secure communication with SKALE 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:Full sync node update
Update full sync 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
skale sync-node init.