public TTMinerPlugin() { // set default internal settings MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage; DefaultTimeout = PluginInternalSettings.DefaultTimeout; GetApiMaxTimeoutConfig = PluginInternalSettings.GetApiMaxTimeoutConfig; // https://bitcointalk.org/index.php?topic=5025783.0 current 3.0.10 // TODO update MinersBinsUrlsSettings = new MinersBinsUrlsSettings { BinVersion = "3.0.10", ExePath = new List <string> { "TT-Miner.exe" }, Urls = new List <string> { "https://github.com/nicehash/MinerDownloads/releases/download/1.9.1.12b/TT-Miner-3.0.10.zip", "https://tradeproject.de/download/Miner/TT-Miner-3.0.10.zip" // original } }; PluginMetaInfo = new PluginMetaInfo { PluginDescription = "TT-Miner is mining software for NVIDIA devices.", SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict() }; }
IReadOnlyList <Algorithm> GetSupportedAlgorithms(CUDADevice gpu) { var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsNVIDIA(PluginUUID); if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID)) { return(algorithms); } var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms); return(filteredAlgorithms); }