Some thing about ntp and localtime in early version of bitshares

Started by Ivnoidea, September 16, 2015, 03:24:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

monsterer

Quote from: Ivnoidea on September 16, 2015, 03:24:00 AM
between ntp in bitshares quests,if localtime of the node(producing block)  is modified,such as ntp in windows ,this may cause fork.
is there any way to avoid fork caused by changing local time

Yes, this is true - I have encountered this issue myself. The only way to resolve it was to get a checkpoint (provided by xeroc in my case) and then re-sync the chain.
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

testz

Quote from: xeroc on September 16, 2015, 11:03:51 AM
welcome,

NTP is UTC time as far as I recall. So you could set your local time to UTC too to avoid issues like that .. not sure how windows handles different timezones though

Windows handles different timezones well, to make delegates work perfectly at Windows you need to configure NTP time synchronization with external source (same for any other platforms):
https://csg.trinhall.cam.ac.uk/tips/ntp/winxp

Edit: My old post about this: https://bitsharestalk.org/index.php/topic,5767.msg77791.html#msg77791

xeroc

welcome,

NTP is UTC time as far as I recall. So you could set your local time to UTC too to avoid issues like that .. not sure how windows handles different timezones though

onceuponatime


Ivnoidea

sorry for my poor english.
We have a project based on earlier verison of bitshares before 2015.3。
Now we have some problem about ntp in bitshares and local time。
between ntp in bitshares quests,if localtime of the node(producing block)  is modified,such as ntp in windows ,this may cause fork.
is there any way to avoid fork caused by changing local time