C# Class NiceHashMiner.Miners.MinersManager

Show file Open project: nicehash/NiceHashMiner Class Usage Examples

Public Methods

Method Description
CreateMiner ( ComputeDevice device, Algorithm algorithm ) : Miner
CreateMiner ( DeviceType deviceType, string minerPath ) : Miner
EquihashCPU_USE_eqm ( ) : bool
GetActiveMinersGroup ( ) : string
GetTotalRate ( ) : double
MinerStatsCheck ( NiceHashSMA>.Dictionary NiceHashData ) : void
StartInitialize ( IMainFormRatesComunication mainFormRatesComunication, string miningLocation, string worker, string btcAdress ) : bool
StopAllMiners ( ) : void
StopAllMinersNonProfitable ( ) : void
SwichMostProfitableGroupUpMethod ( NiceHashSMA>.Dictionary NiceHashData ) : void

SwichMostProfitable should check the best combination for most profit. Calculate profit for each supported algorithm per device and group.

Method Details

CreateMiner() public static method

public static CreateMiner ( ComputeDevice device, Algorithm algorithm ) : Miner
device NiceHashMiner.Devices.ComputeDevice
algorithm Algorithm
return Miner

CreateMiner() public static method

public static CreateMiner ( DeviceType deviceType, string minerPath ) : Miner
deviceType DeviceType
minerPath string
return Miner

EquihashCPU_USE_eqm() public static method

public static EquihashCPU_USE_eqm ( ) : bool
return bool

GetActiveMinersGroup() public static method

public static GetActiveMinersGroup ( ) : string
return string

GetTotalRate() public static method

public static GetTotalRate ( ) : double
return double

MinerStatsCheck() public static method

public static MinerStatsCheck ( NiceHashSMA>.Dictionary NiceHashData ) : void
NiceHashData NiceHashSMA>.Dictionary
return void

StartInitialize() public static method

public static StartInitialize ( IMainFormRatesComunication mainFormRatesComunication, string miningLocation, string worker, string btcAdress ) : bool
mainFormRatesComunication IMainFormRatesComunication
miningLocation string
worker string
btcAdress string
return bool

StopAllMiners() public static method

public static StopAllMiners ( ) : void
return void

StopAllMinersNonProfitable() public static method

public static StopAllMinersNonProfitable ( ) : void
return void

SwichMostProfitableGroupUpMethod() public static method

SwichMostProfitable should check the best combination for most profit. Calculate profit for each supported algorithm per device and group.
public static SwichMostProfitableGroupUpMethod ( NiceHashSMA>.Dictionary NiceHashData ) : void
NiceHashData NiceHashSMA>.Dictionary
return void