|
4 | 4 | /**
|
5 | 5 | * Do not edit this unless you have confirmed that your config has been updated!
|
6 | 6 | * Also the URL to check for the most recent upstream versions available
|
7 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-config-version |
| 7 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#config-version |
8 | 8 | **/
|
9 | 9 | $config['version'] = '1.0.1';
|
10 | 10 | $config['version_url'] = 'https://raw.githubusercontent.com/MPOS/php-mpos/master/include/version.inc.php';
|
11 | 11 |
|
12 | 12 | /**
|
13 | 13 | * Unless you disable this, we'll do a quick check on your config first.
|
14 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-config-check |
| 14 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#config-check |
15 | 15 | */
|
16 | 16 | $config['skip_config_tests'] = false;
|
17 | 17 |
|
|
24 | 24 | /**
|
25 | 25 | * Defines
|
26 | 26 | * Debug setting and salts for hashing passwords
|
27 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-defines--salts |
| 27 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#defines--salts |
28 | 28 | */
|
29 | 29 | $config['DEBUG'] = 0;
|
30 | 30 | $config['SALT'] = 'PLEASEMAKEMESOMETHINGRANDOM';
|
|
33 | 33 | /**
|
34 | 34 | * Coin Algorithm
|
35 | 35 | * Algorithm used by this coin, sha256d or scrypt
|
36 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-algorithm |
| 36 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#algorithm |
37 | 37 | **/
|
38 | 38 | $config['algorithm'] = 'scrypt';
|
39 | 39 |
|
|
47 | 47 | /**
|
48 | 48 | * Database configuration
|
49 | 49 | * MySQL database configuration
|
50 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-database-configuration |
| 50 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#database-configuration |
51 | 51 | **/
|
52 | 52 | $config['db']['host'] = 'localhost';
|
53 | 53 | $config['db']['user'] = 'someuser';
|
|
75 | 75 | /**
|
76 | 76 | * Local wallet RPC
|
77 | 77 | * RPC configuration for your daemon/wallet
|
78 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-local-wallet-rpc |
| 78 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#local-wallet-rpc |
79 | 79 | **/
|
80 | 80 | $config['wallet']['type'] = 'http';
|
81 | 81 | $config['wallet']['host'] = 'localhost:19334';
|
|
85 | 85 | /**
|
86 | 86 | * Swiftmailer configuration
|
87 | 87 | * Configure your way to send mails
|
88 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-swiftmailer |
| 88 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#swiftmailer |
89 | 89 | **/
|
90 | 90 | $config['swiftmailer']['type'] = 'sendmail';
|
91 | 91 | $config['swiftmailer']['sendmail']['path'] = '/usr/sbin/sendmail';
|
|
100 | 100 | /**
|
101 | 101 | * Getting Started Config
|
102 | 102 | * Shown to users in the 'Getting Started' section
|
103 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-getting-started |
| 103 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#getting-started |
104 | 104 | **/
|
105 | 105 | $config['gettingstarted']['coinname'] = 'Litecoin';
|
106 | 106 | $config['gettingstarted']['coinurl'] = 'http://www.litecoin.org';
|
|
110 | 110 | /**
|
111 | 111 | * Ticker API
|
112 | 112 | * Fetch exchange rates via an API
|
113 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-ticker-api |
| 113 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#ticker-api |
114 | 114 | **/
|
115 | 115 | $config['price']['enabled'] = false;
|
116 | 116 | $config['price']['url'] = 'https://btc-e.nz';
|
|
120 | 120 | /**
|
121 | 121 | * Automatic Payout Thresholds
|
122 | 122 | * Minimum and Maximum auto payout amount
|
123 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-automatic-payout-thresholds |
| 123 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#automatic-payout-thresholds |
124 | 124 | **/
|
125 | 125 | $config['ap_threshold']['min'] = 1;
|
126 | 126 | $config['ap_threshold']['max'] = 250;
|
127 | 127 |
|
128 | 128 | /**
|
129 | 129 | * Minimum manual Payout Threshold
|
130 | 130 | * Minimum manual payout amount
|
131 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-manual-payout-threshold |
| 131 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#manual-payout-threshold |
132 | 132 | **/
|
133 | 133 | $config['mp_threshold'] = 1;
|
134 | 134 |
|
135 | 135 | /**
|
136 | 136 | * Donation thresholds
|
137 | 137 | * Minimum donation amount in percent
|
138 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-donation-thresholds |
| 138 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#donation-thresholds |
139 | 139 | **/
|
140 | 140 | $config['donate_threshold']['min'] = 1;
|
141 | 141 |
|
142 | 142 | /**
|
143 | 143 | * Account Specific Settings
|
144 | 144 | * Settings for each user account
|
145 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-account-specific-settings |
| 145 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#account-specific-settings |
146 | 146 | **/
|
147 | 147 | $config['accounts']['invitations']['count'] = 5;
|
148 | 148 |
|
149 | 149 | /**
|
150 | 150 | * Currency
|
151 | 151 | * Shorthand name for the currency
|
152 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-currency |
| 152 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#currency |
153 | 153 | */
|
154 | 154 | $config['currency'] = 'LTC';
|
155 | 155 |
|
156 | 156 | /**
|
157 | 157 | * Coin Target
|
158 | 158 | * Target time for coins to be generated
|
159 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-coin-target |
| 159 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#coin-target |
160 | 160 | **/
|
161 | 161 | $config['cointarget'] = '150';
|
162 | 162 |
|
163 | 163 | /**
|
164 | 164 | * Coin Diff Change
|
165 | 165 | * Amount of blocks between difficulty changes
|
166 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-coin-diff-change |
| 166 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#coin-diff-change |
167 | 167 | **/
|
168 | 168 | $config['coindiffchangetarget'] = 2016;
|
169 | 169 |
|
170 | 170 | /**
|
171 | 171 | * TX Fees
|
172 | 172 | * Fees applied to transactions
|
173 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-tx-fees |
| 173 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#tx-fees |
174 | 174 | **/
|
175 | 175 | $config['txfee_auto'] = 0.1;
|
176 | 176 | $config['txfee_manual'] = 0.1;
|
177 | 177 |
|
178 | 178 | /**
|
179 | 179 | * Block & Pool Bonus
|
180 | 180 | * Bonus coins for blockfinder or a pool bonus for everyone
|
181 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-block-bonus |
182 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-pool-bonus |
| 181 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#block-bonus |
| 182 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#pool-bonus |
183 | 183 | */
|
184 | 184 | $config['block_bonus'] = 0;
|
185 | 185 | $config['pool_bonus'] = 0;
|
|
188 | 188 | /**
|
189 | 189 | * Payout System
|
190 | 190 | * Payout system chosen
|
191 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-payout-system |
| 191 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#payout-system |
192 | 192 | **/
|
193 | 193 | $config['payout_system'] = 'prop';
|
194 | 194 |
|
195 | 195 | /**
|
196 | 196 | * Sendmany Support
|
197 | 197 | * Enable/Disable Sendmany RPC method
|
198 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-sendmany-support |
| 198 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#sendmany-support |
199 | 199 | **/
|
200 | 200 | $config['sendmany']['enabled'] = false;
|
201 | 201 |
|
|
209 | 209 | /**
|
210 | 210 | * Round Purging
|
211 | 211 | * Round share purging configuration
|
212 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-round-purging |
| 212 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#round-purging |
213 | 213 | **/
|
214 | 214 | $config['purge']['sleep'] = 1;
|
215 | 215 | $config['purge']['shares'] = 25000;
|
216 | 216 |
|
217 | 217 | /**
|
218 | 218 | * Share Archiving
|
219 | 219 | * Share archiving configuration details
|
220 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-archiving |
| 220 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#archiving |
221 | 221 | **/
|
222 | 222 | $config['archive']['maxrounds'] = 10;
|
223 | 223 | $config['archive']['maxage'] = 60 * 24;
|
|
226 | 226 | /**
|
227 | 227 | * Pool Fees
|
228 | 228 | * Fees applied to users
|
229 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-pool-fees |
| 229 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#pool-fees |
230 | 230 | */
|
231 | 231 | $config['fees'] = 0;
|
232 | 232 |
|
233 | 233 | /**
|
234 | 234 | * PPLNS
|
235 | 235 | * Pay Per Last N Shares
|
236 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-pplns-settings |
| 236 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#pplns-settings |
237 | 237 | */
|
238 | 238 | $config['pplns']['shares']['default'] = 4000000;
|
239 | 239 | $config['pplns']['shares']['type'] = 'blockavg';
|
|
244 | 244 | /**
|
245 | 245 | * Difficulty
|
246 | 246 | * Difficulty setting for stratum/pushpool
|
247 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-pool-target-difficulty |
| 247 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#pool-target-difficulty |
248 | 248 | */
|
249 | 249 | $config['difficulty'] = 20;
|
250 | 250 |
|
251 | 251 | /**
|
252 | 252 | * Block Reward
|
253 | 253 | * Block reward configuration details
|
254 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-reward-settings |
| 254 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#reward-settings |
255 | 255 | **/
|
256 | 256 | $config['reward_type'] = 'block';
|
257 | 257 | $config['reward'] = 50;
|
258 | 258 |
|
259 | 259 | /**
|
260 | 260 | * Confirmations
|
261 | 261 | * Credit and Network confirmation settings
|
262 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-confirmations |
| 262 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#confirmations |
263 | 263 | */
|
264 | 264 | $config['confirmations'] = 120;
|
265 | 265 | $config['network_confirmations'] = 120;
|
266 | 266 |
|
267 | 267 | /**
|
268 | 268 | * PPS
|
269 | 269 | * Pay Per Share configuration details
|
270 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-pps-settings |
| 270 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#pps-settings |
271 | 271 | **/
|
272 | 272 | $config['pps']['reward']['default'] = 50;
|
273 | 273 | $config['pps']['reward']['type'] = 'blockavg';
|
|
276 | 276 | /**
|
277 | 277 | * Memcache
|
278 | 278 | * Memcache configuration details
|
279 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-memcache |
| 279 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#memcache |
280 | 280 | **/
|
281 | 281 | $config['memcache']['enabled'] = true;
|
282 | 282 | $config['memcache']['host'] = 'localhost';
|
|
292 | 292 | /**
|
293 | 293 | * Cookies
|
294 | 294 | * Cookie configuration details
|
295 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-cookies |
| 295 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#cookies |
296 | 296 | **/
|
297 | 297 | $config['cookie']['duration'] = '1440';
|
298 | 298 | $config['cookie']['domain'] = '';
|
|
303 | 303 | /**
|
304 | 304 | * Smarty Cache
|
305 | 305 | * Enable smarty cache and cache length
|
306 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-smarty-cache |
| 306 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#smarty-cache |
307 | 307 | **/
|
308 | 308 | $config['smarty']['cache'] = 0;
|
309 | 309 | $config['smarty']['cache_lifetime'] = 30;
|
310 | 310 |
|
311 | 311 | /**
|
312 | 312 | * System load
|
313 | 313 | * Disable some calls when high system load
|
314 |
| - * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-system-load |
| 314 | + * https://github.com/MPOS/php-mpos/wiki/Config-Setup#system-load |
315 | 315 | **/
|
316 | 316 | $config['system']['load']['max'] = 10.0;
|
0 commit comments