forked from VerusCoin/s-nomp
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config_example.json
136 lines (128 loc) · 3.63 KB
/
config_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"logLevel": "debug",
"logColors": true,
"cliPort": 17117,
"cliServer": "127.0.0.1",
"clustering": {
"enabled": true,
"forks": "auto"
},
"defaultPoolConfigs": {
"blockRefreshInterval": 500,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"bannedAddresses": {
"enabled": false,
"banned": [
"banned address 1",
"banned address 2",
"etcetera"
]
},
"redis": {
"_disabled_socket": "/var/run/redis/redis.sock",
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
"host": "127.0.0.1",
"port": 6379,
"password": ""
},
"poolHex": "",
"_poolHex_comment": "Set this HEX value using a template of '<pool name> <pool link>' and provide it to various explorer webmasters."
},
"website": {
"enabled": true,
"host": "0.0.0.0",
"port": 8080,
"stratumHost": "cryppit.com",
"stats": {
"updateInterval": 30,
"historicalRetention": 14400,
"hashrateWindow": 300
},
"adminCenter": {
"enabled": false,
"password": "password"
},
"tlsOptions" : {
"enabled": false,
"cert": "",
"key": ""
}
},
"redis": {
"_disabled_socket": "/var/run/redis/redis.sock",
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
"host": "127.0.0.1",
"port": 6379,
"password": ""
},
"switching": {
"switch1": {
"enabled": false,
"algorithm": "sha256",
"ports": {
"3333": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch2": {
"enabled": false,
"algorithm": "scrypt",
"ports": {
"4444": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch3": {
"enabled": false,
"algorithm": "x11",
"ports": {
"5555": {
"diff": 0.001,
"varDiff": {
"minDiff": 0.001,
"maxDiff": 1,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
}
}
},
"profitSwitch": {
"enabled": false,
"updateInterval": 600,
"depth": 0.90,
"usePoloniex": true,
"useCryptsy": true,
"useMintpal": true,
"useBittrex": true
}
}