Synchronizing time with Chrony
π 5. Synchronizing time with Chrony
Because beacon chain relies on accurate times to perform attestations and produce blocks, your computer's time must be accurate to real NTP or NTS time within 0.5 seconds.
chrony is an implementation of the Network Time Protocol and helps to keep your computer's time synchronized with NTP.
Setting Up chrony
π£ Installation
To install chrony, type:
To create the chrony.conf
config file, copy and paste the following:
Move the file to /etc/chrony/chrony.conf
Restart chrony in order for config change to take effect.
π€ Helpful Commands
To see the source of synchronization data.
To view the current status of chrony.
π₯ Bonus Commands
To pick your timezone run the following command:
Find your region using the simple text-based GUI.
In the event that you are using national system like India's IST
select:
This will be appropriate for all locales in the country (IST
, GMT+0530
).