Home Reference Source
public class | source

PoolRewardsManagement

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
Private Members
private
private
private
private

Method Summary

Public Methods
public

redistributePoolDataBlockInformation(blockInformation: *, index: *)

Private Methods
private
private

async _confirmUsingPoolServer(blockInfo: *): *

private

_createServerBlockValidation(height: *, blockInfoHeight: *): *

private

_getServerBlock(height: *): *

private
private

_getServerPrevHash(height: *): *

private

_getServerTimeStamp(height: *): *

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public poolData: * source

public poolManagement: * source

public poolPayouts: * source

Private Members

private _lastTimeCheckHeight: number source

private _serverBlockInfo: * source

private _serverBlocks: *[] source

private _serverBlocksDifficultyCalculation: {} source

Public Methods

public redistributePoolDataBlockInformation(blockInformation: *, index: *) source

Params:

NameTypeAttributeDescription
blockInformation *
index *

Private Methods

private async _blockchainChanged() source

private async _confirmUsingPoolServer(blockInfo: *): * source

Params:

NameTypeAttributeDescription
blockInfo *

Return:

*

private _createServerBlockValidation(height: *, blockInfoHeight: *): * source

Params:

NameTypeAttributeDescription
height *
blockInfoHeight *

Return:

*

private _getServerBlock(height: *): * source

Params:

NameTypeAttributeDescription
height *

Return:

*

private _getServerDifficultyTarget(height: *): * source

Params:

NameTypeAttributeDescription
height *

Return:

*

private _getServerPrevHash(height: *): * source

Params:

NameTypeAttributeDescription
height *

Return:

*

private _getServerTimeStamp(height: *): * source

Params:

NameTypeAttributeDescription
height *

Return:

*