Skip to content

Local Wall Clock Engine

Purpose

The Local Wall Clock Engine provides a mechanism for tracking and managing time locally on the physical machine that the Anoma node is running. It abstracts away the details of the underlying hardware and provides an interface for getting real-time clock functionality.

State

Messages Received

LocalWallClockGetTime

Tracks and manages time within the local computing environment.

Reception:

LocalWallClockGetTimeV1

The LocalWallClockGetTimeV1 has an empty record.

Triggers

LocalWallClockGetTimeResultV1

Records with fields:

Current time according to local wall clock, typically expressed in seconds (or milliseconds) elapsed since a reference point in time (the epoch)

Notifications Sent

Message Flow

sequenceDiagram
Any Local Engine ->>+ Local Wall Clock Engine: LocalWallClockGetTime
Local Wall Clock Engine -->>- Any Local Engine: LocalWallClockGetTimeResult