Ixian SDK
IXICore.Core Class Reference

A collection of utility functions. More...

Static Public Member Functions

static long getCurrentTimestamp ()
 Retrieves the current time as a 64-bit unix epoch value, adjusted for the detected time offset from the network majority. More...
 
static long getCurrentTimestampMillis ()
 Retrieves the current time as a 64-bit unix epoch value with the millisecon precision. The value is already adjusted for the detected time offset from the network majority. More...
 

Static Public Attributes

static long networkTimeDifference = 0
 Value represents the detected time offset from the network majority and is used when time synchronization is required. More...
 

Detailed Description

A collection of utility functions.

Definition at line 6 of file Core.cs.

Member Function Documentation

◆ getCurrentTimestamp()

static long IXICore.Core.getCurrentTimestamp ( )
static

Retrieves the current time as a 64-bit unix epoch value, adjusted for the detected time offset from the network majority.

Returns
Unix epoch (number of seconds since 1970-01-01)

Definition at line 17 of file Core.cs.

◆ getCurrentTimestampMillis()

static long IXICore.Core.getCurrentTimestampMillis ( )
static

Retrieves the current time as a 64-bit unix epoch value with the millisecon precision. The value is already adjusted for the detected time offset from the network majority.

Returns
Number of milliseconds since the unix epoch - 1970-01-01.

Definition at line 27 of file Core.cs.

Member Data Documentation

◆ networkTimeDifference

long IXICore.Core.networkTimeDifference = 0
static

Value represents the detected time offset from the network majority and is used when time synchronization is required.

Definition at line 11 of file Core.cs.


The documentation for this class was generated from the following file: