Advertisement
Guest User

Untitled

a guest
Jul 14th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. #############################
  2. # Server Configuration File
  3. #############################
  4.  
  5. ###################################################################################################
  6. # SECTION INDEX
  7. #
  8. # SERVER CONFIGURATION
  9. # STRATUM CONFIGURATION
  10. # DATABASE CONFIGURATION
  11. # MYSQL CONFIGURATION
  12. #
  13. ###################################################################################################
  14.  
  15. ###################################################################################################
  16. # EXAMPLE CONFIG
  17. #
  18. # Variable
  19. # Description: Brief description what the variable is doing.
  20. # Important: Annotation for important things about this variable.
  21. # Example: "Example, i.e. if the value is a string"
  22. # Default: 10 - (Enabled|Comment|Variable name in case of grouped config options)
  23. # 0 - (Disabled|Comment|Variable name in case of grouped config options)
  24. #
  25. # Note to developers:
  26. # - Copy this example to keep the formatting.
  27. # - Line breaks should be at column 100.
  28. ###################################################################################################
  29.  
  30.  
  31.  
  32. ###################################################################################################
  33. # SERVER CONFIGURATION
  34. #
  35. # MinDiffTime
  36. # Description: Minimum diff time (ms) in main server loop.
  37. # Important: Lowering this value increases cpu load but new packets are processed faster
  38. # Default: 100
  39.  
  40. ServerThreads=3
  41. MiningAddress=
  42. BitcoinRPC=127.0.0.1;9902;username;password
  43.  
  44. #
  45. ###################################################################################################
  46.  
  47.  
  48.  
  49. ###################################################################################################
  50. # STRATUM CONFIGURATION
  51. #
  52. # StratumHost
  53. # Description: Bind stratum to IP/Hostname
  54. # Default: "0.0.0.0" - (Bind to all IPs on the system)
  55.  
  56. StratumHost=0.0.0.0
  57. StratumRedirectHost=eu.d7.lt
  58.  
  59. #
  60. # StratumPort
  61. # Description: Stratum Port
  62. # Default: 3333
  63.  
  64. StratumPort=3333
  65.  
  66. #
  67. ###################################################################################################
  68.  
  69.  
  70.  
  71. ###################################################################################################
  72. # LOGGING CONFIGURATION
  73. #
  74. # LogFilePath
  75. # Description: Location to save logfile to
  76. # Important: Do not add trailing slash
  77. # Example: "/var/log"
  78. # Default: "../etc" - (Save log file next to executable)
  79.  
  80. LogFilePath=/var/pool/poolcpp
  81.  
  82. #
  83. # LogConsoleLevel
  84. # LogFileLevel
  85. # Description: Logging output level
  86. # Default: 0 - (Disabled)
  87. # 1 - (Error)
  88. # 2 - (Warning|LogFileLevel)
  89. # 3 - (Info|LogConsoleLevel)
  90. # 4 - (Debug|Set apropriate Log...DebugMask for debug output)
  91.  
  92. LogConsoleLevel=3
  93. LogFileLevel=3
  94.  
  95. #
  96. # LogConsoleDebugMask
  97. # LogFileDebugMask
  98. # Description: Debug output mask
  99. # Example: 5 - (1+4|Ouput LOG_GENERAL and LOG_DATABASE)
  100. # Default: 0 - (Disabled)
  101. # 1 - (LOG_GENERAL)
  102. # 2 - (LOG_SERVER)
  103. # 4 - (LOG_DATABASE)
  104.  
  105. LogConsoleDebugMask=34
  106. LogFileDebugMask=0
  107.  
  108. #
  109. ###################################################################################################
  110.  
  111.  
  112.  
  113. ###################################################################################################
  114. # DATABASE CONFIGURATION
  115. #
  116. # DatabaseDriver
  117. # Description: Database driver to use for data storage
  118. # Important: Server must be compiled with selected driver support
  119. # Example: "mysql"
  120. # Default: "." - (Save log file next to executable)
  121.  
  122. DatabaseDriver=mysql
  123.  
  124. #
  125. ###################################################################################################
  126.  
  127.  
  128.  
  129. ###################################################################################################
  130. # MYSQL CONFIGURATION
  131. #
  132. # MySQLHost
  133. # Description: IP/Hostname of MySQL Server
  134. # Default: "127.0.0.1" - (Connect to localhost)
  135.  
  136. MySQLHost=127.0.0.1
  137.  
  138. #
  139. # MySQLPort
  140. # Description: MySQL Server Port
  141. # Default: 3306 - (Default MySQL Server Port)
  142.  
  143. MySQLPort=3306
  144.  
  145. #
  146. # MySQLUser
  147. # Description: MySQL Server Username
  148. # Default: "" - (No Username)
  149.  
  150. MySQLUser=user
  151.  
  152. #
  153. # MySQLPass
  154. # Description: MySQL Server Password
  155. # Default: "" - (No Password)
  156.  
  157. MySQLPass=pass
  158.  
  159. #
  160. # MySQLDatabase
  161. # Description: Name of MySQL Database
  162. # Default: "poolserver"
  163.  
  164. MySQLDatabase=poolserver
  165.  
  166. #
  167. ###################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement