Home Reference Source
public class | source

BlockchainNetworkAdjustedTime

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public get
public

Method Summary

Private Methods
private

_addNodeTimeAdjusted(socket: *, socketTimeUTC: *): boolean

private

_desinitializeNode(nodesListObject: *)

private

async _initializingNewNodeTimestmap(socket: *, timestamp: *)

private

Public Constructors

public constructor() source

Public Members

public blockchainTimestamp: * source

public get networkAdjustedTime: * source

public networkAdjustedTimeClusters: * source

Private Methods

private _addNodeTimeAdjusted(socket: *, socketTimeUTC: *): boolean source

Params:

NameTypeAttributeDescription
socket *
socketTimeUTC *

Return:

boolean

private _desinitializeNode(nodesListObject: *) source

Params:

NameTypeAttributeDescription
nodesListObject *

private async _initializingNewNodeTimestmap(socket: *, timestamp: *) source

Params:

NameTypeAttributeDescription
socket *
timestamp *

private _removeNodeTimeAdjusted(socket: *) source

Params:

NameTypeAttributeDescription
socket *