Function API.getLocalTime

abstract TimePoint getLocalTime() @safe;

Returns

The local clock time of this node (not network-adjusted)

API

GET /local_time

Warning

this request should be protected via node-to-node encryption, or else be signed with a unique challenge/response. Otherwise a byzantine node can cache a node's older response and feed it to a victim node (replay attack).