alanharey15

advanced

Aug 22nd, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. {
  2. # detailed sample config file for pool which explicility sets all settings.
  3.  
  4. "enabled": true,
  5.  
  6. # -------------------------------
  7. # Coin configuration
  8. # -------------------------------
  9.  
  10. # coin: name of the coin configuration file that should exist in config/coins/.
  11.  
  12. "coin": "litecoin.json",
  13.  
  14. # -------------------------------
  15. # Coin Daemon RPC Connection
  16. # -------------------------------
  17.  
  18. # host: ip/hostname of coin-daemon.
  19. # port: the port coin daemon is listening on.
  20. # username: username for rpc connection.
  21. # password: password for rpc connection.
  22.  
  23. "daemon": {
  24. "host": "127.0.0.1",
  25. "port": 3000,
  26. "username": "admin",
  27. "password": "admin"
  28. },
  29.  
  30. # -------------------------------
  31. # Meta Configuration
  32. # -------------------------------
  33.  
  34. # motd: message of the day.
  35. # txMessage: message to be included used within generation transactions.
  36.  
  37. "meta": {
  38. "motd": "Welcome to CoiniumServ pool, enjoy your stay! - http://www.coiniumserv.com",
  39. "txMessage": "http://www.coiniumserv.com/"
  40. },
  41.  
  42. # -------------------------------
  43. # Wallet & Rewards Configuration
  44. # -------------------------------
  45.  
  46. # address: generated coins will arrive here.
  47.  
  48. "wallet" : {
  49. "address": "LRMmMCrh3fJcGKYAjK8m8zjgbag7fD6yA1"
  50. },
  51.  
  52. # rewards: list of addresses that gets a percentage from each mined block (ie, pool fee.)
  53.  
  54. "rewards": [
  55. {"LRMmMCrh3fJcGKYAjK8m8zjgbag7fD6yA1": 1}
  56. ],
  57.  
  58. # -------------------------------
  59. # Payment Processing Configuration
  60. # -------------------------------
  61.  
  62. # enabled: set this true to let CoiniumServ handle the payments, false if you would like some other software like mpos to handle them.
  63. # interval: interval in seconds that payment-processor will be running.
  64. # minimum: minimum amount of coins before a miner is eligable for getting a payment.
  65.  
  66. "payments": {
  67. "enabled": true,
  68. "interval": 60,
  69. "minimum": 0.01
  70. },
  71.  
  72. # -------------------------------
  73. # Miner Configuration
  74. # -------------------------------
  75.  
  76. # validateUsername: set true to validate miner usernames as an addresses against the coin daemon.
  77. # timeout: timeout in seconds to disconnect miners that did not submit any shares for the period.
  78.  
  79. "miner": {
  80. "validateUsername": true,
  81. "timeout": 300
  82. },
  83.  
  84. # -------------------------------
  85. # Job Manager Configuration
  86. # -------------------------------
  87.  
  88. # blockRefresh: timeout in miliseconds to poll coin daemon for a new block.
  89. # rebroadcast: if now new blocks are found in this many seconds, a new job will be created and broadcasted.
  90.  
  91.  
  92. "job": {
  93. "blockRefreshInterval": 1000,
  94. "rebroadcastTimeout": 55
  95. },
  96.  
  97. # -------------------------------
  98. # Stratum Server Configuration
  99. # -------------------------------
  100.  
  101. # stratum:
  102. # enabled: set this true to enable stratum server.
  103. # bind: interface to bind stratum server.
  104. # port: port to listen for stratum connections.
  105. # diff: default difficulty assigned to newly connected miners.
  106.  
  107. # vardiff:
  108. # enabled: set this true to enable variable-difficulty support.
  109. # minDiff: minimum difficulty that can be assigned to miners.
  110. # maxDiff: maximum difficulty that can be assigned to miners.
  111. # targetTime: try to get a single share per this many seconds from miner.
  112. # retargetTime: retarget a miners difficulty ever this many seconds.
  113. # variancePercent: allow difficulty for a miner to vary this percent without retargeting.
  114.  
  115. "stratum": {
  116. "enabled": true,
  117. "bind": "0.0.0.0",
  118. "port": 3333,
  119. "diff": 16,
  120. "vardiff": {
  121. "enabled": true,
  122. "minDiff": 8,
  123. "maxDiff": 512,
  124. "targetTime": 15,
  125. "retargetTime": 90,
  126. "variancePercent": 30
  127. }
  128. },
  129.  
  130. # -------------------------------
  131. # Ban Configuration
  132. # -------------------------------
  133.  
  134. # you can ban miners which submits invalid work / data to reduce system/network load.
  135. # enabled: set this true to enable banning support.
  136. # duration: duration of ban when a miner gets flagged for so.
  137. # invalidPercent: percentage of invalid shares to trigger a ban.
  138. # checkThreshold: number of shares required before a miner's shares are considered for a ban.
  139. # purgeInterval: purge interval in seconds that bans are checked to see if they are expired.
  140.  
  141. "banning": {
  142. "enabled": true,
  143. "duration": 600,
  144. "invalidPercent": 50,
  145. "checkThreshold": 100,
  146. "purgeInterval": 300
  147. },
  148.  
  149. # -------------------------------
  150. # Per-pool Storage Configuration
  151. # -------------------------------
  152.  
  153. # redis:
  154. # enabled: is redis enabled?
  155. # host: redis host.
  156. # port: redis port.
  157. # password: set the password if your redis installation requires one.
  158. # databaseId: redis database instance id (optional)
  159.  
  160. "storage": {
  161. "redis": {
  162. "enabled": true,
  163. "host": "127.0.0.1",
  164. "port": 5432,
  165. "password": "05016",
  166. "databaseId": 0
  167. }
  168. },
  169.  
  170. # -------------------------------
  171. # MPOS Compatibility Mode
  172. # -------------------------------
  173.  
  174. # NOT-IMPLEMENTED-YET!
  175. # enabled: set this true to enable mpos compatibility mode - make sure to internal disable payment-processor!
  176. # host: database host.
  177. # port: database port.
  178. # name: database-name.
  179. # username: username for connecting the database.
  180. # password: password for connecting the database.
  181.  
  182. "mpos": {
  183. "enabled": false,
  184. "database": {
  185. "host": "127.0.0.1",
  186. "port": 3306,
  187. "name": "db-name",
  188. "user": "username",
  189. "password": "password"
  190. }
  191. },
  192.  
  193. # -------------------------------
  194. # Getwork Server Configuration
  195. # -------------------------------
  196.  
  197. # EXPERIMENTAL!; This feature is still in development and not complete yet.
  198. # enabled: Set this true to enable getwork server.
  199. # bind: interface to bind getwork server.
  200. # port: port to listen for getwork connections.
  201.  
  202. "vanilla": {
  203. "enabled": false,
  204. "bind": "localhost",
  205. "port": 2223
  206. }
  207. }
Advertisement
Add Comment
Please, Sign In to add comment