-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Document followed: https://docs.xdc.network/xdcchain/developers/node_operators/masternode/#setup-xdc-masternodestandby-node-using-docker
We’re using the docker setup
Step 1: sudo git clone https://github.com/XinFinOrg/XinFin-Node.git
Step 2: cd XinFin-Node
Step 3: install Docker
Step 4: cd mainnet; cp env.example .env; nano .env
Step 5: cd mainnet
Step 6: cd xdcchain; sudo rm -rf XDC (clear data directory to make way for snapshot)
Step 7: sudo docker-compose -f docker-compose.yml up -d
Node is setup and start, but seems not syncing
=============Node Logs=============
Select to run mainnet...
cp: can't create '/work/bootnodes.list': File exists
cp: can't create '/work/genesis.json': File exists
cp: can't create '/work/start.sh': File exists
Start Node...
INFO [10-16|10:33:49] Maximum peer count ETH=25 LES=0 total=25
INFO [10-16|10:33:49] Set global gas cap cap=50000000
INFO [10-16|10:33:49] XDCX datadir path=/work/xdcchain/XDCx
Log level found, set to 1
SYNC_MODE not set, default to full
GC_MODE not set, default to archive
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13 100 13 0 0 47 0 --:--:-- --:--:-- --:--:-- 48
Starting nodes with enode://91e59fa1b034ae35e9f4e8a99cc6621f09d74e76a6220abb6c93b29ed41a9e1fc4e5b70e2c5fc43f883cffbdcd6f4f6cbc1d23af077f28c2aecc22403355d4b1@81.0.220.137:30304,enode://91e59fa1b034ae35e9f4e8a99cc6621f09d74e76a6220abb6c93b29ed41a9e1fc4e5b70e2c5fc43f883cffbdcd6f4f6cbc1d23af077f28c2aecc22403355d4b1@5.189.1
DEBUG[10-16|10:57:15] [allowedToSend] Master node list masterNodeAddress=000000…98bced
DEBUG[10-16|10:57:15] [allowedToSend] Not in the Masternode list, not suppose to send message sendType=timeout MyAddress=xdc0000000000000000000000000000000000000000
DEBUG[10-16|10:57:15] OnTimeoutFn processed
DEBUG[10-16|10:57:15] Recalculated downloader QoS values rtt=5s confidence=1.000 ttl=5s
DEBUG[10-16|10:57:15] [update] Miner worker timer reset resetMilliseconds=2000 minePeriodSec=2 currentBlockTimeSec=1753207929 currentSystemTimeSec=1760612235.790
DEBUG[10-16|10:57:16] Revalidated node b=12 id=d1c7529077c43c90
DEBUG[10-16|10:57:17] [update] Miner worker timer reset resetMilliseconds=2000 minePeriodSec=2 currentBlockTimeSec=1753207929 currentSystemTimeSec=1760612237.791
DEBUG[10-16|10:57:18] Revalidated node b=14 id=f14274f155d8b9fd
Also want to know the impact of boothnode.list and enode.txt cahnge, will it impact node sync ?
https://github.com/XinFinOrg/XinFin-Node/commits/master/mainnet
