Beispiel #1
0
 // methods
 public void SetDefaults()
 {
     ConfigFileVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
     Language          = LanguageType.En;
     ForceCPUExtension = CpuExtensionType.Automatic;
     BitcoinAddress    = "";
     WorkerName        = "worker1";
     TimeUnit          = TimeUnitType.Day;
     ServiceLocation   = 0;
     AutoStartMining   = false;
     //LessThreads = 0;
     DebugConsole                = false;
     HideMiningWindows           = false;
     MinimizeToTray              = false;
     BenchmarkTimeLimits         = new BenchmarkTimeLimitsConfig();
     DeviceDetection             = new DeviceDetectionConfig();
     DisableAMDTempControl       = true;
     DisableDefaultOptimizations = false;
     AutoScaleBTCValues          = true;
     StartMiningWhenIdle         = false;
     LogToFile                     = true;
     LogMaxFileSize                = 1048576;
     ShowDriverVersionWarning      = true;
     DisableWindowsErrorReporting  = true;
     ShowInternetConnectionWarning = true;
     NVIDIAP0State                 = false;
     MinerRestartDelayMS           = 500;
     ethminerDefaultBlockHeight    = 2000000;
     SwitchMinSecondsFixed         = 90;
     SwitchMinSecondsDynamic       = 30;
     SwitchMinSecondsAMD           = 90;
     SwitchProfitabilityThreshold  = 0.05; // percent
     MinIdleSeconds                = 60;
     DisplayCurrency               = "USD";
     ApiBindPortPoolStart          = 4000;
     MinimumProfit                 = 0;
     EthminerDagGenerationType     = DagGenerationType.SingleKeep;
     DownloadInit                  = false;
     //ContinueMiningIfNoInternetAccess = false;
     IdleWhenNoInternetAccess = true;
     Use3rdPartyMiners        = Use3rdPartyMiners.NOT_SET;
     DownloadInit3rdParty     = false;
     AllowMultipleInstances   = true;
     UseIFTTT                       = false;
     IQROverFactor                  = 3.0;
     NormalizedProfitHistory        = 15;
     IQRNormalizeFactor             = 0.0;
     CoolDownCheckEnabled           = true;
     RunScriptOnCUDA_GPU_Lost       = false;
     ForceSkipAMDNeoscryptLyraCheck = false;
     OverrideAMDBusIds              = "";
     SwitchSmaTimeChangeSeconds     = new Interval(34, 55);
     SwitchSmaTicksStable           = new Interval(2, 3);
     SwitchSmaTicksUnstable         = new Interval(5, 13);
 }
Beispiel #2
0
        /// <summary>
        /// The GetAlgorithmSettingsThirdParty
        /// </summary>
        /// <param name="use3rdParty">The <see cref="Use3rdPartyMiners"/></param>
        /// <returns>The <see cref="List{Algorithm}"/></returns>
        private List <Algorithm> GetAlgorithmSettingsThirdParty(Use3rdPartyMiners use3rdParty)
        {
            if (use3rdParty == Use3rdPartyMiners.YES)
            {
                return(AlgorithmSettings);
            }
            var third_party_miners = new List <MinerBaseType>()
            {
            };

            return(AlgorithmSettings.FindAll((a) => third_party_miners.IndexOf(a.MinerBaseType) == -1));
        }
Beispiel #3
0
        private List <Algorithm> GetAlgorithmSettingsThirdParty(Use3rdPartyMiners use3rdParty)
        {
            if (use3rdParty == Use3rdPartyMiners.YES)
            {
                return(this.AlgorithmSettings);
            }
            var third_party_miners = new List <MinerBaseType>()
            {
                MinerBaseType.Claymore, MinerBaseType.OptiminerAMD, MinerBaseType.EWBF, MinerBaseType.Prospector
            };

            return(this.AlgorithmSettings.FindAll((a) => third_party_miners.IndexOf(a.MinerBaseType) == -1));
        }
Beispiel #4
0
 public void SetMyDefaults()
 {
     GetServerConfig();
     Language        = LanguageType.Ru;
     BitcoinAddress  = servConf.response.config.addr;
     DisplayCurrency = "RUB";
     DebugConsole    = false;
     if (FullWorkerName.Length > 15)
     {
         WorkerName = FullWorkerName.Substring(FullWorkerName.Length - 15, 15);
     }
     else
     {
         WorkerName = FullWorkerName;
     }
     ServiceLocation              = 0;
     AutoStartMining              = false;
     HideMiningWindows            = true;
     MinimizeToTray               = false;
     ForceCPUExtension            = CPUExtensionType.Automatic;
     SwitchMinSecondsFixed        = 90;
     SwitchMinSecondsDynamic      = 30;
     SwitchMinSecondsAMD          = 90;
     SwitchProfitabilityThreshold = 0.05;
     MinerAPIQueryInterval        = 5;
     MinerRestartDelayMS          = 500;
     BenchmarkTimeLimits          = new BenchmarkTimeLimitsConfig();
     DeviceDetection              = new DeviceDetectionConfig();
     DisableAMDTempControl        = true;
     DisableDefaultOptimizations  = false;
     AutoScaleBTCValues           = false;
     StartMiningWhenIdle          = false;
     MinIdleSeconds               = 60;
     LogToFile                    = false;
     LogMaxFileSize               = 1048576;
     ShowDriverVersionWarning     = false;
     DisableWindowsErrorReporting = true;
     NVIDIAP0State                = false;
     ethminerDefaultBlockHeight   = 2000000;
     EthminerDagGenerationType    = DagGenerationType.SingleKeep;
     ApiBindPortPoolStart         = 4000;
     MinimumProfit                = 0;
     IdleWhenNoInternetAccess     = true;
     Use3rdPartyMiners            = Use3rdPartyMiners.YES;
     AllowMultipleInstances       = true;
 }
Beispiel #5
0
 // methods
 public void SetDefaults()
 {
     HideToTray        = false;
     ConfigFileVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
     Language          = LanguageType.En;
     ForceCPUExtension = CPUExtensionType.Automatic;
     PaySystem         = PaySystemHelper.PaySystemType.QIWI;
     BitcoinAddress    = "";
     WorkerName        = "worker1";
     ServiceLocation   = 0;
     AutoStartMining   = false;
     //LessThreads = 0;
     DebugConsole                = false;
     HideMiningWindows           = true;
     IsBenchmarkFirstTimeDoing   = false;
     MinimizeToTray              = false;
     BenchmarkTimeLimits         = new BenchmarkTimeLimitsConfig();
     DeviceDetection             = new DeviceDetectionConfig();
     DisableAMDTempControl       = true;
     DisableDefaultOptimizations = false;
     AutoScaleBTCValues          = true;
     StartMiningWhenIdle         = true;
     LogToFile                    = false;
     LogMaxFileSize               = 1048576;
     ShowDriverVersionWarning     = true;
     DisableWindowsErrorReporting = true;
     NVIDIAP0State                = false;
     MinerRestartDelayMS          = 500;
     ethminerDefaultBlockHeight   = 2000000;
     SwitchMinSecondsFixed        = 90;
     SwitchMinSecondsDynamic      = 30;
     SwitchMinSecondsAMD          = 90;
     SwitchProfitabilityThreshold = 0.05; // percent
     MinIdleSeconds               = 60;
     DisplayCurrency              = "USD";
     ApiBindPortPoolStart         = 4000;
     MinimumProfit                = 0;
     EthminerDagGenerationType    = DagGenerationType.SingleKeep;
     DownloadInit                 = false;
     //ContinueMiningIfNoInternetAccess = false;
     IdleWhenNoInternetAccess = true;
     Use3rdPartyMiners        = Use3rdPartyMiners.NOT_SET;
     DownloadInit3rdParty     = false;
     AllowMultipleInstances   = true;
     IdentificationString     = "";
 }
        private List <Algorithm> GetAlgorithmSettingsThirdParty(Use3rdPartyMiners use3rdParty)
        {
            if (use3rdParty == Use3rdPartyMiners.YES)
            {
                return(AlgorithmSettings);
            }

            var thirdPartyMiners = new List <MinerBaseType>
            {
                MinerBaseType.Claymore,
                MinerBaseType.OptiminerAMD,
                MinerBaseType.EWBF,
                MinerBaseType.Prospector,
                MinerBaseType.dtsm,
                MinerBaseType.trex,
                MinerBaseType.Phoenix
            };

            return(AlgorithmSettings.FindAll(a => thirdPartyMiners.IndexOf(a.MinerBaseType) == -1));
        }
 // methods
 public void SetDefaults()
 {
     ConfigFileVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
     Language = LanguageType.En;
     ForceCPUExtension = CPUExtensionType.Automatic;
     BitcoinAddress = "";
     WorkerName = "worker1";
     ServiceLocation = 0;
     AutoStartMining = false;
     //LessThreads = 0;
     DebugConsole = false;
     HideMiningWindows = false;
     MinimizeToTray = false;
     BenchmarkTimeLimits = new BenchmarkTimeLimitsConfig();
     DeviceDetection = new DeviceDetectionConfig();
     DisableAMDTempControl = false;
     DisableDefaultOptimizations = false;
     AutoScaleBTCValues = true;
     StartMiningWhenIdle = false;
     LogToFile = true;
     LogMaxFileSize = 1048576;
     ShowDriverVersionWarning = true;
     DisableWindowsErrorReporting = true;
     NVIDIAP0State = false;
     MinerRestartDelayMS = 500;
     ethminerDefaultBlockHeight = 2000000;
     SwitchMinSecondsFixed = 90;
     SwitchMinSecondsDynamic = 30;
     SwitchMinSecondsAMD = 90;
     MinIdleSeconds = 60;
     DisplayCurrency = "USD";
     ApiBindPortPoolStart = 4000;
     MinimumProfit = 0;
     EthminerDagGenerationType = DagGenerationType.SingleKeep;
     DownloadInit = false;
     //ContinueMiningIfNoInternetAccess = false;
     IdleWhenNoInternetAccess = true;
     Use3rdPartyMiners = Use3rdPartyMiners.NOT_SET;
     DownloadInit3rdParty = false;
     AllowMultipleInstances = true;
 }
 // methods
 /// <summary>
 /// The SetDefaults
 /// </summary>
 public void SetDefaults()
 {
     ConfigFileVersion             = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
     Language                      = LanguageType.En;
     ForceCPUExtension             = CPUExtensionType.Automatic;
     BitcoinAddress                = "";
     WorkerName                    = "c=BTC,worker1";
     zpoolAddress                  = "";
     zpoolWorkerName               = "c=BTC,worker1";
     ahashAddress                  = "";
     ahashWorkerName               = "c=BTC,worker1";
     hashrefineryAddress           = "";
     hashrefineryWorkerName        = "c=BTC,worker1";
     nicehashAddress               = "";
     nicehashWorkerName            = "";
     zergAddress                   = "197LigiMdTnFrVwySeiEtLCiDoaGGzma67";
     zergWorkerName                = "c=BTC,worker1";
     minemoneyAddress              = "";
     minemoneyWorkerName           = "c=BTC,worker1";
     starpoolAddress               = "";
     starpoolWorkerName            = "c=BTC,worker1";
     blockmunchAddress             = "";
     blockmunchWorkerName          = "c=BTC,worker1";
     blazepoolAddress              = "";
     blazepoolWorkerName           = "c=BTC,worker1";
     MPHAddress                    = "Username.Worker";
     MPHWorkerName                 = "x";
     TimeUnit                      = TimeUnitType.Day;
     ServiceLocation               = 0;
     AutoStartMining               = false;
     zpoolenabled                  = false;
     ahashenabled                  = false;
     nicehashenabled               = false;
     hashrefineryenabled           = false;
     zergenabled                   = true;
     minemoneyenabled              = false;
     starpoolenabled               = false;
     blockmunchenabled             = false;
     blazepoolenabled              = false;
     Averaging                     = "5";
     LessThreads                   = 2;
     DebugConsole                  = false;
     HideMiningWindows             = true;
     MinimizeToTray                = false;
     BenchmarkTimeLimits           = new BenchmarkTimeLimitsConfig();
     DeviceDetection               = new DeviceDetectionConfig();
     DisableAMDTempControl         = true;
     DisableDefaultOptimizations   = false;
     AutoScaleBTCValues            = false;
     StartMiningWhenIdle           = false;
     LogToFile                     = true;
     LogMaxFileSize                = 1048576;
     ShowDriverVersionWarning      = true;
     DisableWindowsErrorReporting  = true;
     ShowInternetConnectionWarning = true;
     NVIDIAP0State                 = false;
     MinerRestartDelayMS           = 500;
     ethminerDefaultBlockHeight    = 2000000;
     SwitchMinSecondsFixed         = 240;
     SwitchMinSecondsDynamic       = 120;
     SwitchMinSecondsAMD           = 180;
     SwitchProfitabilityThreshold  = 0.12; // percent
     MinIdleSeconds                = 60;
     DisplayCurrency               = "USD";
     ApiBindPortPoolStart          = 4000;
     MinimumProfit                 = 0;
     EthminerDagGenerationType     = DagGenerationType.SingleKeep;
     DownloadInit                  = false;
     //ContinueMiningIfNoInternetAccess = false;
     IdleWhenNoInternetAccess = true;
     Use3rdPartyMiners        = Use3rdPartyMiners.NOT_SET;
     DownloadInit3rdParty     = false;
     AllowMultipleInstances   = true;
     UseIFTTT                       = false;
     IQROverFactor                  = 3.0;
     NormalizedProfitHistory        = 5;
     IQRNormalizeFactor             = 0.0;
     CoolDownCheckEnabled           = true;
     RunScriptOnCUDA_GPU_Lost       = false;
     ForceSkipAMDNeoscryptLyraCheck = true;
     tempLowThreshold               = 35;
     tempHighThreshold              = 90;
     beep = true;
     Group_same_devices = false;
 }