oxen-io/oxen-core

Improve Service Node Time Synchronicity

KeeJef opened this issue · 0 comments

Recently we've had some Service Nodes register with incorrectly synced clocks, this is an issue because it can cause users messages to fail to send if the Service Node thinks the users timestamp is out of bounds (because its own clock is out of bounds). These Service Nodes will be kicked from the network by other Service Nodes during testing, but they will bounce between decommissioned and registered until all uptime credits are used, exacerbating the time Session users can be affected.

Some options to reduce the prevalence of this issue

  • Warn during installation of Service Node package that local time may be out of sync and that this may result in deregistration
  • Require retesting clock before Service Node can go from Decommissioned -> Registered (prevents bouncing back and forth between decommissioned and registered)