forked from tutulino/Megaminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.txt
216 lines (118 loc) · 10.4 KB
/
Config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
-- **********************************************************************************************************
-- ******************** ********************
-- ******************** BASIC OPTIONS ********************
-- ******************** ********************
-- **********************************************************************************************************
-- Your rig ID
@@WORKERNAME=your_workername
--Autoexchange pools preferred currencies.
--You can set a generic currency for all autoexchange pools @@CURRENCY=XXX or a specific currency for one pool @@CURRENCY_NAMEOFPOOL=BTC valid only for that pool
--pools without autoexchange (yiimp, suprnova...) need a wallet of same coin you are mining
--You must be sure selected pool support pay that coin or you can lose your money.
--You must set wallet for this currencies on "Wallets Section"
@@CURRENCY=BTC
@@CURRENCY_NAMEOFPOOL=XXX
-- Local currency shown within the profits screen (DOLLAR, EURO, GBP)
@@LOCALCURRENCY=EURO
-- Location of your rig: EU/US/ASIA (by default "US" will be used for pools that don't require or support this setting)
@@LOCATION=EU
-- Pool user name for non-anonymous pools such as SprNova, BlocksFactory, or MiningPoolHub
-- You can ignore this setting if you're not using these types of pools
@@USERNAME=your_pool_username
-- For auto exchange pools. You only need set a wallet for your preferred currencies (@@currency).
-- Other pools without an auto exchange, like Yiimp, will need a wallet defined for the same coin you are mining.
-- You can add wallets using pattern @@WALLET_XXX=YYYYY (where XXX=currency symbol; YYYYY=your wallet).
-- For Nicehash if a @@WALLET_BTC_NICE=XXXXXXX is found it will be used, if not @@WALLET_BTC will be used.
-- For some coins, such as Electroneum, you will need a Payment ID. Add it after your address separated by a dot.
@@WALLET_BTC=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
@@WALLET_XXX=ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
-- Number of minutes to mine as a donation each day (minimum 5 minutes or 0.34%)
@@DONATE=10
-- Use your cpu to mine: ENABLED = yes, DISABLED = no (you can start cpu alone mining also using -groupnames parameter in batch file)
@@CPUMINING=DISABLED
--Electricity cost, you can use this converter to get your BTC cost http://www.xe.com/es/currencyconverter/convert/?Amount=0%2C012&From=EUR&To=XBT
--Example for all day cost [{"HourStart":0,"HourEnd":23,"CostKwh":0.105609}]
--Example for two periods cost [{"HourStart":12,"HourEnd":21,"CostKwh":0.105609},{"HourStart":22,"HourEnd":11,"CostKwh":0.703759}]
@@ELECTRICITYCOST=[{"HourStart":0,"HourEnd":23,"CostKwh":0}]
-- **********************************************************************************************************
-- ******************** ********************
-- ******************** ADVANCED OPTIONS (don't change unless you know what you do) ********************
-- ******************** ********************
-- **********************************************************************************************************
-- Profit recheck interval time (in seconds) for each kind of pool
-- This interval recalculates and selects the most profitable algorithm
@@INTERVAL_PPS=300
@@INTERVAL_PPLS=1800
-- Benchmarks interval time (less than 300 not recommended for GPU due to miners ramp time), if you want to use automatic gpu power limit configuration is recommended at least 600
@@BENCHMARKTIME=300
- When enabled miners stats are updated while real mining, if disabled miner stats only are updated while benchmarking (ENABLED/DISABLED)
@@LIVESTATSUPDATE=ENABLED
-- Screen to be shown at Megaminer start-up (WALLETS/CURRENT/HISTORY/PROFITS/STATS)
@@STARTSCREEN=PROFITS
-- Percent to switch miner/algo, new miner/algo only will be launched if new profit is greater than actual profit in specified percent (example: 10 means that new miner/algo must be 10% more profitable than actual to be launched)
@@PERCENTTOSWITCH=10
-- [OPTIONAL] API Keys
-- Some non-anonymous pools, such as Suprnova and MPH, require API keys to obtain wallet details or pool speed.
-- For example @@APIKEY_MINING_POOL_HUB=a04e6sx30b38f73878ae40775f70efseff6582e8ec37600215755487ccbd36b4510b4
-- FORMAT: @@APIKEY_NAMEOFPOOL=XXXXXXXXXX) [optional]
-- @@APIKEY_NAMEOFPOOL=XXXXXXXXXX
-- @@APIKEY_NAMEOFPOOL2=YYYYYYYYYY
-- [OPTIONAL] GPU Groups/PowerLimits
-- if you don´t set groups MM automatically makes 2 groups, one for all NVIDIA gpus and other for all AMD gpus
-- If you activate this option and you have more than 1 group of same type (AMD,NVIDIA) miners ports will be calculated dynamically, some software like ethmonitoring will not work due to miner dynamic port assignation
-- You can group your cards as you want. It's recommended to create a group for each card model in your rig, each group will be benchmarked and run separately (you can identify your GPU id's by launching GpuList.bat)
-- Type must be NVIDIA or AMD,
-- Only for NVIDIA (zero means MM will not change Power Limit):
-- You can set Powerlimits (MM must run with admin rights and UAC disabled or prompt appears) for each group, MM will benchmark all miners with maximum value, done this, when a miner is maximum profit candidate MM will benchmark other power limits of that miner to find best.
--For this feature @@benchmark=600 is recommended
-- Example1: @@GPUGROUPS=[{"GroupName" : "Card1","Type":"NVIDIA","Gpus":"0","PowerLimits":"0"},{"GroupName" : "Card2","Type":"NVIDIA","Gpus":"0","PowerLimits":"0"},{"GroupName" : "Card3","Type":"NVIDIA","Gpus":"0","PowerLimits":"0"}]
-- Example2: @@GPUGROUPS=[{"GroupName" : "1080s","Type":"NVIDIA","Gpus":"0,1,2,3,4","PowerLimits":"100,90,80"} , {"GroupName" : "RX580s","Type":"AMD","Gpus":"0,1","PowerLimits":"0"} ]
--@@GPUGROUPS=[{"GroupName" : "1080s","Type":"NVIDIA","Gpus":"0,1,2,3,4","PowerLimits":"110,100,90,80"} , {"GroupName" : "RX580s","Type":"AMD","Gpus":"0,1","PowerLimits":"0"} ]
--[OPTIONAL] Pools profit correction factors
--Usually pools revenue is overestimated, this factor allows manual correction (Profit= ReportedPoolProfit * @@POOLPROFITFACTOR)
--This values are based on experience
@@POOLPROFITFACTOR_AHASHPOOL=0.7
@@POOLPROFITFACTOR_NICEHASH=1
@@POOLPROFITFACTOR_MININGPOOLHUB=0.8
@@POOLPROFITFACTOR_ZPOOL=0.7
@@POOLPROFITFACTOR_ZERGPOOL=0.5
@@POOLPROFITFACTOR_BLAZEPOOL=0.7
@@POOLPROFITFACTOR_BSODPW=0.7
@@POOLPROFITFACTOR_YIIMP=0.7
--Enabled or disable detailed log
@@DEBUGLOG=DISABLED
--Delayed miners closing, while new miner is starting, old one continue mining for specified seconds
@@DELAYCLOSEMINERS=0
--Min number of workers in a pool to be considered as "good"
@@MINWORKERS=20
-- This variable defines order for Whattomine based stats virtual pool, for each coin MM find in WTM it will search what real pool has this coin available, first found (in specified order) is selected.
-- Only this pools are compatible (they works at coin level): Yiimp, Suprnova, MiningPoolHub
-- WTM profit is based on instant coin change rate, is recommended use pools with autoexchange on like MiningPoolHub and ZergPool
@@WHATTOMINEPOOLORDER=MiningPoolHub
--Algorithms, define what algorithms can be mined for MM, for an Algo can be mined must exists: 1. A pool, 2. A miner, 3. This config.
--If used, algorithm parameter from core.ps1 override this config.
@@ALGORITHMS_NVIDIA=bitcore,blakecoin,c11,cryptonight,Equihash,Ethash,Ethash_Blake2b,Ethash_Blake14r,Ethash_Keccak,Ethash_blake2s,Ethash_pascal,Ethash_Lbry,groestl,hsr,jha,Keccak,keccakc,lbry,lyra2v2,lyra2z,Myriad-Groestl,Neoscrypt,nist5,pascal,phi,polytimos,sib,skein,skunk,timetravel,tribus,veltor,whirpool,x11evo,x11gost,x14,x16r,x17,xevan,yescrypt,X12,x16s,cryptonightv7,allium,sha256t
@@ALGORITHMS_AMD=bitcore,blake,cryptonight,darkcoin-mod,equihash,Ethash,Ethash_Blake2b,Ethash_Blake14r,Ethash_Keccak,Ethash_blake2s,Ethash_pascal,Ethash_Lbry,Groestl,hsr,Keccak,lyra2v2,lyra2z,Myriad-groestl,neoscrypt,Pascal,phi,skein,tribus,vanilla,veltor,x11gost,xevan,yescrypt,x16r,x16s,cryptonightv7
@@ALGORITHMS_CPU=bitcore,blakecoin,cryptonight,hmq1725,jha,keccak,keccakc,lyra2v2,lyra2z,m7m,neoscrypt,nist5,phi,polytimos,timetravel,tribus,veltor,cryptonightv7,x16s,x16r,sha256t
--Force Dynamic Miners Port, if enabled Apiport field from miner file is ignored, you must enabled if you want to run more than one instance of MM with more than one same type gpu group.
@@FORCEDYNAMICPORTS=DISABLED
--Enable ETHlargementPill (REVB/REVA/DISABLED)
--ETHlargementPill is a hashrate booster for Nvidia 1080 and 1080ti in some algos, enable if you have one of this models, disable if not
--The default is revB, but older GPUs (which tend to be 1080s) only take the revA well, that why it's needed to be specified
@@ETHLARGEMENTPILL=DISABLED
-- **********************************************************************************************************
-- ******************** FARM MONITOR OPTIONS ********************
-- ********************(only need to set to use this app to monitorize all your rigs) ********************
-- ******************** (To run monitoring run start.bat / option 3) ********************
-- **********************************************************************************************************
--[optional]Port for megaminer api (http:\\localhost:port), set zero to disable api, need to setup on each monitorized machine
@@APIPORT=0
--Farm Monitor adresses, indicates what rigs do you want monitorize in Farm Monitor,only needs to be filled in your monitoring machine
@@FARMRIGS=[{"IpOrLanName":"moneymachine", "ApiPort":"9999","Notifications":"true"},{"IpOrLanName":"filemon", "ApiPort":"9999","Notifications":"true"},{"IpOrLanName":"localhost", "ApiPort":"9999","Notifications":"true"}]
--Refresh interval in seconds
@@REFRESHINTERVAL=15
--[OPTIONAL] Notification Mail and SMTPServer config:
--Smtp server password will be asked and encrypted locally first time you run (to change password delete smtp.ctr), this file cant be shared between rigs because use local encryption/decryption.
--GMAIL smtp will not work if you have activated two pass verification
@@SMTPSERVER={"url":"smtp-mail.outlook.com","port":587,"user":"[email protected]","ssl":true}