Home Reference Source
public class | source

PoolWorkManagement

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public

Method Summary

Public Methods
public

async getWork(minerInstance: *, blockInformationMinerInstance: *): *

public

async processWork(minerInstance: *, work: *, prevBlock: *): {"result": *, "reward": *, "confirmed": *, "refReward": *, "refConfirmed": *}

public
public

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public poolManagement: * source

public poolNewWorkManagement: * source

public poolWork: * source

public poolWorkValidation: * source

Public Methods

public async getWork(minerInstance: *, blockInformationMinerInstance: *): * source

Params:

NameTypeAttributeDescription
minerInstance *
blockInformationMinerInstance *

Return:

*

public async processWork(minerInstance: *, work: *, prevBlock: *): {"result": *, "reward": *, "confirmed": *, "refReward": *, "refConfirmed": *} source

Params:

NameTypeAttributeDescription
minerInstance *
work *
prevBlock *

Return:

{"result": *, "reward": *, "confirmed": *, "refReward": *, "refConfirmed": *}

public startPoolWorkManagement() source

public stopPoolWorkManagement() source