xelis-project / xelis-blockchain

A private blockDAG with Homomorphic Encryption and Smart Contracts
373 stars 89 forks source link

not syncing with last 4-6 nodes gives timestamp greater error #58

Closed Ashutosh-Tosh closed 4 months ago

Ashutosh-Tosh commented 6 months ago

[2024-05-06] (15:24:42.009) WARN xelis_daemon::p2p > Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 51.68.142.141:2125, read: 10.1 KiB, sent: 4.5 KiB, key rotation (in/out): (1/1), connected since: 57s, closed: false], id: 14610305161627733346, topoheight: 89282, top hash: 5dc1b85191e1450cc64b0dc333ef2d328f834437c0e2f7f1ee10f57dae2b6e9a, height: 84017, pruned: No, priority: true, tag: None, version: 1.10.0-45795c2, fail count: 0, out: true, peers: 0]: Timestamp 1714989282009 is greater than current time 1714989286823

image

already tried fast sync boost sync, running the latest version

Ashutosh-Tosh commented 6 months ago

Update: Tried Changing my system time to UTC 0 it didnt work, however, reverting back to automatic(utc +5:30) started syncing node correctly and is up to date now since 15 mins.

Moonchowder commented 5 months ago

Any other solutions for this? The time change back and forth didn't work for me.

Slixe commented 4 months ago

Make sure to sync your time using NTP correctly, because block time are really short and the "delta" of future timestamp allowed is only 2s, you can get such errors, keeping the clock synced as the nearest possible to a NTP server is the best way