Beispiel #1
0
        public sgminer()
        {
            SupportedAlgorithms = new Algorithm[] {
                new Algorithm(3, "x11", "x11", DefaultParam + "--nfactor 10 --xintensity  640 --thread-concurrency    0 --worksize  64 --gpu-threads 1"),
                new Algorithm(4, "x13", "x13", DefaultParam + "--nfactor 10 --xintensity   64 --thread-concurrency    0 --worksize  64 --gpu-threads 2"),
                new Algorithm(5, "keccak", "keccak", DefaultParam + "--nfactor 10 --xintensity  300 --thread-concurrency    0 --worksize  64 --gpu-threads 1"),
                new Algorithm(6, "x15", "x15", DefaultParam + "--nfactor 10 --xintensity   64 --thread-concurrency    0 --worksize  64 --gpu-threads 2"),
                new Algorithm(7, "nist5", "nist5", DefaultParam + "--nfactor 10 --xintensity   16 --thread-concurrency    0 --worksize  64 --gpu-threads 2"),
                new Algorithm(8, "neoscrypt", "neoscrypt", DefaultParam + "--nfactor 10 --xintensity    2 --thread-concurrency 8192 --worksize  64 --gpu-threads 4"),
                new Algorithm(10, "whirlpoolx", "whirlpoolx", DefaultParam + "--nfactor 10 --xintensity   64 --thread-concurrency    0 --worksize 128 --gpu-threads 2"),
                new Algorithm(11, "qubit", "qubitcoin", DefaultParam + "--intensity 18 --worksize 64 --gpu-threads 2"),
                new Algorithm(12, "quark", "quarkcoin", DefaultParam + "--nfactor 10 --xintensity 1024 --thread-concurrency    0 --worksize  64 --gpu-threads 1"),
                new Algorithm(14, "lyra2rev2", "Lyra2REv2", DefaultParam + "--nfactor 10 --xintensity  160 --thread-concurrency    0 --worksize  64 --gpu-threads 1"),
                new Algorithm(16, "blake256r8", "blakecoin", DefaultParam + "--intensity  24 --worksize 128 --gpu-threads 2"),
                new Algorithm(17, "blake256r14", "blake", DefaultParam + "--intensity  24 --worksize 128 --gpu-threads 2"),
                new Algorithm(18, "blake256r8vnl", "vanilla", DefaultParam + "--intensity  24 --worksize 128 --gpu-threads 2"),
                new Algorithm(20, "daggerhashimoto", "daggerhashimoto"),
                new Algorithm(21, "decred", "decred", "--gpu-threads 1 --remove-disabled --xintensity 256 --lookup-gap 2 --worksize 64")
            };

            MinerDeviceName = "AMD_OpenCL";
            Path            = "bin\\sgminer-5-4-0-general\\sgminer.exe";
            APIPort         = 4050;
            ER = new EthminerReader(APIPort);
            EnableOptimizedVersion = true;
            PlatformDevices        = 0;
            GPUPlatformNumber      = 0;
            GPUCodeName            = new List <string>();

            if (!Config.ConfigData.DisableDetectionAMD)
            {
                QueryCDevs();
            }
        }
Beispiel #2
0
        public ccminer_sp() :
            base()
        {
            MinerDeviceName = "NVIDIA5.x";
            Path            = "bin\\ccminer_sp.exe";
            APIPort         = 4048;
            ER = new EthminerReader(APIPort);

            if (!Config.ConfigData.DisableDetectionNVidia5X)
            {
                QueryCDevs();
            }
        }
Beispiel #3
0
        public Form5(string worker, Process eprocess)
        {
            InitializeComponent();

            Success = false;

            Worker          = worker;
            EthMinerProcess = eprocess;
            EthMinerProcess.Start();

            EthReader = new EthminerReader(37450);
            EthReader.Start();

            CheckTimer          = new Timer();
            CheckTimer.Interval = 1000;
            CheckTimer.Tick    += CheckTimer_Tick;
            CheckTimer.Start();
        }
        public ccminer_tpruvot() :
            base()
        {
            MinerDeviceName = "NVIDIA3.x";
            Path            = "bin\\ccminer_tpruvot.exe";
            APIPort         = 4049;
            ER = new EthminerReader(APIPort);

            // disable neoscrypt
            var tmp = new List <Algorithm>(SupportedAlgorithms);

            tmp.RemoveAt(GetAlgoIndex("neoscrypt"));   // Remove Neoscrypt
            SupportedAlgorithms = tmp.ToArray();

            if (!Config.ConfigData.DisableDetectionNVidia3X)
            {
                QueryCDevs();
            }
        }