Home Reference Source
public class | source

MinerPoolSettings

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public
public
public
public
public
public
public
public
public
public
public get

poolURL: *

public
public
public
public

poolsList: {}

Private Members
private

_db: *

private
private
private

Method Summary

Public Methods
public

async addPoolList(url: *, data: *, save: boolean)

public
public

async initializeMinerPoolSettings(poolURL: *)

public
public

async setMinerPoolActivated(newValue: *, skipSaving: boolean, useActivation: boolean)

public

async setPoolURL(newValue: *, skipSaving: boolean): boolean

Private Methods
private

async _addPoolsList()

private
private

async _getMinerPoolList(): *

private

async _replacePoolURL(url: string): *

private

async _saveMinerPoolList(): *

private

async _setPoolServers(newValue: *)

Public Constructors

public constructor() source

Public Members

public get minerPoolActivated: * source

public minerPoolManagement: * source

public poolAddress: string source

public poolDedicated: boolean source

public poolDescription: string source

public poolFee: number source

public poolName: string source

public poolPublicKey: * source

public poolReferral: * source

public poolReferralFee: number source

public poolServers: *[] source

public get poolURL: * source

public poolURLReferral: string source

public poolUseSignatures: boolean source

public poolWebsite: string source

public poolsList: {} source

Private Members

private _db: * source

private _minerPoolActivated: boolean source

private _poolMinerAddress: string source

private _poolURL: string source

Public Methods

public async addPoolList(url: *, data: *, save: boolean) source

Params:

NameTypeAttributeDescription
url *
data *
save boolean
  • optional
  • default: true

public generatePoolURLReferral() source

public async initializeMinerPoolSettings(poolURL: *) source

Params:

NameTypeAttributeDescription
poolURL *

public notifyNewChanges() source

public async setMinerPoolActivated(newValue: *, skipSaving: boolean, useActivation: boolean) source

Params:

NameTypeAttributeDescription
newValue *
skipSaving boolean
  • optional
  • default: false
useActivation boolean
  • optional
  • default: true

public async setPoolURL(newValue: *, skipSaving: boolean): boolean source

Params:

NameTypeAttributeDescription
newValue *
skipSaving boolean
  • optional
  • default: false

Return:

boolean

Private Methods

private async _addPoolsList() source

private async _getMinerPoolDetails() source

private async _getMinerPoolList(): * source

Return:

*

private async _replacePoolURL(url: string): * source

Params:

NameTypeAttributeDescription
url string
  • optional
  • default:

Return:

*

private async _saveMinerPoolList(): * source

Return:

*

private async _setPoolServers(newValue: *) source

Params:

NameTypeAttributeDescription
newValue *