Developers Forum for XinFin XDC Network

Discussion on: Repeated Error When Setting Up XDC Node

Collapse
gzliudan profile image
Daniel Liu • • Edited on

Here is a solution. You can setup a node based on snapshot file, then sync it with mainnet. The snapshot links:

Thread Thread
11ppm profile image
11ppm Author •

Thank you for your reply. I have already tried using snapshots several times. However, the number of peers did not increase, so I decided to start from scratch. Even then, the peers did not increase. Today, I performed a hard reset again and started using the snapshot. I will monitor the situation for 24 hours to see if the number of peers increases.

Thread Thread
gzliudan profile image
Daniel Liu • • Edited on

I tested it yesterday again. It takes a few minutes to connect other nodes, then sync with mainnet.

Thread Thread
gzliudan profile image
Daniel Liu •

We updated bootnodes for mainnet just now. Please run git pull to update https://github.com/XinFinOrg/XinFin-Node, and sync from genesis or snapshot file. BTW: the snapshot file is no longer needed now.

Thread Thread
11ppm profile image
11ppm Author •

I have updated the bootnodes.list. Although there are only 1-2 peers, the synchronization has been successfully completed. Thank you very much.

Some comments have been hidden by the post's author - find out more