Home Reference Source
public class | source

PoolDataMiner

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

address: *

public
public

index: *

public

instances: *[]

public get
public get
public
public

publicKeys: *[]

public
public set
public get
public set
public get
public get
public set
public get
public get
public set
Private Members
private
private
private
private

Method Summary

Public Methods
public

addInstance(socket: *): *

public

deserializeMiner(buffer: *, offset: *): *

public
public

findInstance(socket: *, returnPos: boolean): *

public

removeInstance(socket: *): boolean

public

Public Constructors

public constructor() source

Public Members

public address: * source

public dateActivity: number source

public index: * source

public instances: *[] source

public get isOnline: * source

public get minerHashesPerSecond: * source

public poolData: * source

public publicKeys: *[] source

public referrals: * source

public set rewardConfirmed source

public get rewardConfirmed: * source

public set rewardConfirmedOther source

public get rewardConfirmedOther: * source

public get rewardConfirmedTotal: * source

public set rewardSent source

public get rewardSent: * source

public get rewardTotal: * source

public set rewardTotal source

Private Members

private _rewardConfirmed: number source

private _rewardConfirmedOther: number source

private _rewardSent: number source

private _rewardTotal: number source

Public Methods

public addInstance(socket: *): * source

Params:

NameTypeAttributeDescription
socket *

Return:

*

public deserializeMiner(buffer: *, offset: *): * source

Params:

NameTypeAttributeDescription
buffer *
offset *

Return:

*

public destroyPoolDataMiner() source

public findInstance(socket: *, returnPos: boolean): * source

Params:

NameTypeAttributeDescription
socket *
returnPos boolean
  • optional
  • default: false

Return:

*

public removeInstance(socket: *): boolean source

Params:

NameTypeAttributeDescription
socket *

Return:

boolean

public serializeMiner(): * source

Return:

*