Home Reference Source
public class | source

MinerProtocol

Constructor Summary

Public Constructor
public

Member Summary

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

Method Summary

Public Methods
public

async initializeMinerPoolManagement(poolURL: *): *

public

async setMinerInitialPoolURL(newURL: *): boolean

public

async setMinerPoolStarted(value: *, forceStartMinerPool: boolean, skipSaving: boolean)

public

async startMinerPool(poolURL: *, forceStartMinerPool: boolean, skipSaving: boolean): boolean

Private Methods
private

async _setRandomPool()

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public set minerPoolInitialized source

public get minerPoolInitialized: * source

public minerPoolMining: * source

public get minerPoolOpened: * source

public set minerPoolOpened source

public minerPoolProtocol: * source

public minerPoolReferrals: * source

public minerPoolReward: * source

public minerPoolSettings: * source

public get minerPoolStarted: * source

public minerPoolStatistics: * source

Private Members

private _minerPoolInitialized: boolean source

private _minerPoolOpened: boolean source

private _minerPoolStarted: boolean source

private _setRandomPoolTimeout: * source

Public Methods

public async initializeMinerPoolManagement(poolURL: *): * source

Params:

NameTypeAttributeDescription
poolURL *

Return:

*

public async setMinerInitialPoolURL(newURL: *): boolean source

Params:

NameTypeAttributeDescription
newURL *

Return:

boolean

public async setMinerPoolStarted(value: *, forceStartMinerPool: boolean, skipSaving: boolean) source

Params:

NameTypeAttributeDescription
value *
forceStartMinerPool boolean
  • optional
  • default: false
skipSaving boolean
  • optional
  • default: false

public async startMinerPool(poolURL: *, forceStartMinerPool: boolean, skipSaving: boolean): boolean source

Params:

NameTypeAttributeDescription
poolURL *
forceStartMinerPool boolean
  • optional
  • default: false
skipSaving boolean
  • optional
  • default: false

Return:

boolean

Private Methods

private async _setRandomPool() source