summaryrefslogtreecommitdiffstats
path: root/xmrstak/config.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/config.tpl')
-rw-r--r--xmrstak/config.tpl35
1 files changed, 14 insertions, 21 deletions
diff --git a/xmrstak/config.tpl b/xmrstak/config.tpl
index 3308354..c06d121 100644
--- a/xmrstak/config.tpl
+++ b/xmrstak/config.tpl
@@ -1,14 +1,19 @@
R"===(
/*
- * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
- * wallet_address - Your wallet, or pool login.
- * pool_password - Can be empty in most cases or "x".
+ * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
+ * wallet_address - Your wallet, or pool login.
+ * pool_password - Can be empty in most cases or "x".
+ * use_nicehash - Limit the nonce to 3 bytes as required by nicehash.
+ * use_tls - This option will make us connect using Transport Layer Security.
+ * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
+ * pool_weight - Pool weight is a number telling the miner how important the pool is. Miner will mine mostly at the pool
+ * with the highest weight, unless the pool fails. Weight must be an integer larger than 0.
*
* We feature pools up to 1MH/s. For a more complete list see M5M400's pool list at www.moneropools.com
*/
-"pool_address" : "POOLURL",
-"wallet_address" : "POOLUSER",
-"pool_password" : "POOLPASSWD",
+"pool_list" :
+[
+POOLCONF],
/*
* currency to mine
@@ -31,7 +36,7 @@ R"===(
* don't mine while the connection is lost, so your computer's power usage goes down to idle.
*/
"call_timeout" : 10,
-"retry_time" : 10,
+"retry_time" : 30,
"giveup_limit" : 0,
/*
@@ -111,25 +116,13 @@ R"===(
"use_slow_memory" : "warn",
/*
- * NiceHash mode
- * nicehash_nonce - Limit the nonce to 3 bytes as required by nicehash. This cuts all the safety margins, and
- * if a block isn't found within 30 minutes then you might run into nonce collisions. Number
- * of threads in this mode is hard-limited to 32.
- */
-"nicehash_nonce" : false,
-
-/*
* TLS Settings
* If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
* to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
*
- * use_tls - This option will make us connect using Transport Layer Security.
* tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
- * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
*/
-"use_tls" : false,
"tls_secure_algo" : true,
-"tls_fingerprint" : "",
/*
* Daemon mode
@@ -145,7 +138,7 @@ R"===(
* each output line immediately. This can cause delays when running in background.
* Set this option to true to flush stdout after each line, so it can be read immediately.
*/
- "flush_stdout" : false,
+"flush_stdout" : false,
/*
* Output file
@@ -172,4 +165,4 @@ R"===(
"prefer_ipv4" : true,
)==="
- \ No newline at end of file
+
OpenPOWER on IntegriCloud