Home Reference Source
public class | source

PoolNewWorkManagement

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
Private Members
private

Method Summary

Public Methods
public

async propagateNewWork(workInProgressIndex: *)

Private Methods
private

async _sendNewWork(minerInstance: *, blockInformationMinerInstance: *, workInProgressIndex: *): boolean

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public poolManagement: * source

public poolWorkManagement: * source

Private Members

private _workInProgressIndex: number source

Public Methods

public async propagateNewWork(workInProgressIndex: *) source

Params:

NameTypeAttributeDescription
workInProgressIndex *

Private Methods

private async _sendNewWork(minerInstance: *, blockInformationMinerInstance: *, workInProgressIndex: *): boolean source

Params:

NameTypeAttributeDescription
minerInstance *
blockInformationMinerInstance *
workInProgressIndex *

Return:

boolean