Beispiel #1
0
        private IEnumerable <Algorithm> GetAMDSupportedAlgorithms(AMDDevice gpu)
        {
            var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsAMD(PluginUUID).ToList();

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

            return(filteredAlgorithms);
        }
Beispiel #2
0
 // mandatory constructor
 public BMinerPlugin()
 {
     // set default internal settings
     MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage;
     // https://www.bminer.me/releases/ current v 15.7.6
     MinersBinsUrlsSettings = new MinersBinsUrlsSettings
     {
         BinVersion = "15.7.6",
         ExePath    = new List <string> {
             "bminer-lite-v15.7.6-f585663", "bminer.exe"
         },
         Urls = new List <string>
         {
             "https://github.com/nicehash/MinerDownloads/releases/download/1.9.1.12/bminer-lite-v15.7.6-f585663.zip",
             "https://www.bminercontent.com/releases/bminer-lite-v15.7.6-f585663-amd64.zip" // original
         }
     };
     PluginMetaInfo = new PluginMetaInfo
     {
         PluginDescription          = "Bminer is a cryptocurrency miner that runs on modern AMD / NVIDIA GPUs.",
         SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict()
     };
 }
Beispiel #3
0
 protected virtual string AlgorithmName(AlgorithmType algorithmType) => PluginSupportedAlgorithms.AlgorithmName(algorithmType);