Esempio n. 1
0
        private IEnumerable <Algorithm> GetSupportedAlgorithms(IGpuDevice gpu)
        {
            var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsGPU(PluginUUID);

            if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID))
            {
                return(algorithms);
            }
            var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms);

            return(filteredAlgorithms);
        }
Esempio n. 2
0
 public PhoenixPlugin()
 {
     // set default internal settings
     MinerOptionsPackage             = PluginInternalSettings.MinerOptionsPackage;
     MinerSystemEnvironmentVariables = PluginInternalSettings.MinerSystemEnvironmentVariables;
     // https://bitcointalk.org/index.php?topic=2647654.0
     MinersBinsUrlsSettings = new MinersBinsUrlsSettings
     {
         BinVersion = "4.8c",
         ExePath    = new List <string> {
             "PhoenixMiner_4.8c_Windows", "PhoenixMiner.exe"
         },
         Urls = new List <string>
         {
             "https://github.com/nicehash/MinerDownloads/releases/download/1.9.2.16plus/PhoenixMiner_4.8c_Windows.zip",
             "https://mega.nz/#F!2VskDJrI!lsQsz1CdDe8x5cH3L8QaBw?yIM2WArR" // original
         }
     };
     PluginMetaInfo = new PluginMetaInfo
     {
         PluginDescription          = "Phoenix Miner is fast Ethash miner that supports both AMD and Nvidia cards(including in mixed mining rigs).",
         SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict()
     };
 }