13

I'm running a baking node on an Ubuntu 18.04 server. Is the timesyncd service (installed by default) good enough or do I want to install ntpd to get the higher clock precision that it can provide?

17

In terms of resolution, it's not an issue. Even a few seconds off wouldn't affect your participation in the consensus given the comparatively large block time of 60 seconds.

In terms of security, you may not want to run any clock synchronization service though. A compromise of the ntp servers could allow an attacker to drift your clock.

Manually syncing the time every couple weeks is a safer option, and you won't encounter meaningful drift at this timescale.

1
  • 2
    Depending on how much your clock drifts, manually syncing every couple weeks might not be effective; you might get too much drift. As long as you use trusted NTP sources, such as your infrastructure/cloud provider or ntppool.org/en you shouldn't have to be too concerned with a bad actor causing your clock to drift. NTP uses at least 4 sources by default for accuracy, which means a bad actor would have to coordinate and attack multiple NTP servers in the pool (there are over 4,000 as of the time this comment was written) in order to cause your clock to drift. Jan 30 '19 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.