Advertisement
Guest User

help

a guest
Nov 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. /*
  2. * GPU configuration. You should play around with threads and blocks as the fastest settings will vary.
  3. * index - GPU index number usually starts from 0.
  4. * threads - Number of GPU threads (nothing to do with CPU threads).
  5. * blocks - Number of GPU blocks (nothing to do with CPU threads).
  6. * bfactor - Enables running the Cryptonight kernel in smaller pieces.
  7. * Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 8
  8. * bsleep - Insert a delay of X microseconds between kernel launches.
  9. * Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 100
  10. * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
  11. *
  12. * On the first run the miner will look at your system and suggest a basic configuration that will work,
  13. * you can try to tweak it from there to get the best performance.
  14. *
  15. * A filled out configuration should look like this:
  16. * "gpu_threads_conf" :
  17. * [
  18. * { "index" : 0, "threads" : 17, "blocks" : 60, "bfactor" : 0, "bsleep" : 0, "affine_to_cpu" : false},
  19. * ],
  20. */
  21. "gpu_threads_conf" :
  22. null,
  23.  
  24. /*
  25. * TLS Settings
  26. * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
  27. * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
  28. *
  29. * use_tls - This option will make us connect using Transport Layer Security.
  30. * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
  31. * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
  32. */
  33. "use_tls" : false,
  34. "tls_secure_algo" : true,
  35. "tls_fingerprint" : "",
  36.  
  37. /*
  38. * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
  39. * wallet_address - Your wallet, or pool login.
  40. * pool_password - Can be empty in most cases or "x".
  41. */
  42. "pool_address" : "pool.supportxmr.com:3333",
  43. "wallet_address" : "",
  44. "pool_password" : "",
  45.  
  46. /*
  47. * Network timeouts.
  48. * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
  49. * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
  50. * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
  51. * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
  52. * server usually takes to process our calls.
  53. *
  54. * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
  55. * retry_time - How long should we wait before another connection attempt.
  56. * Both values are in seconds.
  57. * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
  58. * don't mine while the connection is lost, so your computer's power usage goes down to idle.
  59. */
  60. "call_timeout" : 10,
  61. "retry_time" : 10,
  62. "giveup_limit" : 0,
  63.  
  64. /*
  65. * Output control.
  66. * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
  67. * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
  68. * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
  69. * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
  70. *
  71. * verbose_level - 0 - Don't print anything.
  72. * 1 - Print intro, connection event, disconnect event
  73. * 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
  74. * 3 - All of level 1, and new job (block) event in all cases, result submission event.
  75. * 4 - All of level 3, and automatic hashrate report printing
  76. */
  77. "verbose_level" : 3,
  78.  
  79. /*
  80. * Automatic hashrate report
  81. *
  82. * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
  83. * This option has no effect if verbose_level is not 4.
  84. */
  85. "h_print_time" : 60,
  86.  
  87. /*
  88. * Output file
  89. *
  90. * output_file - This option will log all output to a file.
  91. *
  92. */
  93. "output_file" : "",
  94.  
  95. /*
  96. * Built-in web server
  97. * I like checking my hashrate on my phone. Don't you?
  98. * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
  99. * outside of your home network. Ports lower than 1024 on Linux systems will require root.
  100. *
  101. * httpd_port - Port we should listen on. Default, 0, will switch off the server.
  102. */
  103. "httpd_port" : 0,
  104.  
  105. /*
  106. * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
  107. * This setting will only be needed in 2020's. No need to worry about it now.
  108. */
  109. "prefer_ipv4" : true,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement