Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 789 Bytes

File metadata and controls

67 lines (43 loc) · 789 Bytes

Guide

This document explains how to sync xdc networks.

1. start sync

1.1 start a node with default config

The default config file is cfg1.env if not specified.

1.1.1 mainnet

./sync-xinfin.sh

1.1.2 testnet

./sync-apothem.sh

1.1.3 devnet

./sync-devnet.sh

1.2 start a node with custom config

1.2.1 mainnet

./sync-xinfin.sh <CONFIG_FILE_NAME>

1.2.2 testnet

./sync-apothem.sh <CONFIG_FILE_NAME>
1.2.3 devnet
./sync-devnet.sh <CONFIG_FILE_NAME>

2. stop sync

2.1 stop one node by config

./stop-cfg.sh <CONFIG_FILE_NAME>

2.2 stop one node by PID

./stop-pid.sh <PID_FILE>

2.3 stop all nodes

./stop-all.sh