Ejemplo n.º 1
0
        IReadOnlyList <Algorithm> GetSupportedAlgorithms(AMDDevice gpu)
        {
            var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsAMD(PluginUUID);

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

            return(filteredAlgorithms);
        }
Ejemplo n.º 2
0
 public SRBMinerPlugin()
 {
     // set default internal settings
     MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage;
     // https://www.srbminer.com/download.html current v1.9.3
     MinersBinsUrlsSettings = new MinersBinsUrlsSettings
     {
         BinVersion = "v1.9.3",
         ExePath    = new List <string> {
             "SRBMiner-CN-V1-9-3", "SRBMiner-CN.exe"
         },
         Urls = new List <string>
         {
             "https://github.com/nicehash/MinerDownloads/releases/download/v1.0/SRBMiner-CN-V1-9-3.7z",
             "https://mega.nz/#F!qVIgxAwB!kKmgCDICmQwbdVvMb-tAag?WQggXSQa", // original
         }
     };
     PluginMetaInfo = new PluginMetaInfo
     {
         PluginDescription          = "SRBMiner AMD GPU Miner is a Windows software made for mining cryptocurrencies based on Cryptonight algorithm.",
         SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict()
     };
 }