This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
forked from nimiq/mining-pool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.sample.conf
99 lines (78 loc) · 2.98 KB
/
server.sample.conf
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
{
// Pool server configuration
poolServer: {
// Whether a pool server should run.
// Default: false
enabled: true,
// Specifies which port to listen on for connections.
// Possible values: any valid port number
// Default: 8444
//port: 8444,
// Certificate file and private key file to use for the TLS secured server.
sslCertPath: './localcert/certificate.pem',
sslKeyPath: './localcert/key.pem',
// Password of the MySQL pool_server user.
mySqlPsw: 'password',
// Host the MySQL database runs on.
// Default: 'localhost'
mySqlHost: 'localhost'
},
// General mining pool configuration
pool: {
// Name announced to the client.
name: 'HexaPool',
// Pool address which the clients will set as miner address.
address: 'NQ52 NCCT 7X4L 56ND UC7P MPTD 3ND3 TMDC 62AL',
//Host the RabbitMQ runs on
brokerHost: 'amqp://guest:nimiqrocks!@host:5672',
//Queue name to store shares
queueName: 'shares',
// Confirmations required before shares for a block are rewarded.
// Default: 10
//payoutConfirmations: 10,
// The pool will automatically pay out users having accumulated over autoPayOutLimit satoshis.
// Default: 5000000 (50 NIM)
//autoPayOutLimit: 5000000,
// The pool will keep (blockReward + feesInBlock) * poolFee for itself.
// Default: 0.01
//poolFee: 0.01,
// Network fee used by the pool for payouts (in satoshi per byte).
// Default: 1
//networkFee: 1,
// Desired shares per second (SPS) for connected clients, regulates share submission rate.
// Default: 0.2
//desiredSps: 0.2,
// Shares submitted over spsTimeUnit [ms] are used to adjust a clients share difficulty.
// Default: 60000 (1 min)
//spsTimeUnit: 60000,
// Difficulty which will be announced to and expected from a client before adaptation
// Default: 1
//startDifficulty: 1,
// The lower bound for the share difficulty.
// Default: 1
//minDifficulty: 1,
// If no valid shares are sent over a connection during connectionTimeout [ms], it is closed.
// Default: 60 * 1000 * 10 (10 min)
//connectionTimeout: 60 * 1000 * 10,
// Number of previous shares taken into account for block payout.
// Default: 1000
//pplnsShares: 1000,
// Number of allowed errors (invalid shares) between new settings.
// Default: 3
//allowedErrors: 3
},
// Nimiq Core configuration
// See https://github.com/nimiq-network/core/blob/master/clients/nodejs/sample.conf for more information.
host: "my.domain",
//port: 8443,
tls: {
cert: "./my.domain.cer",
key: "./my.domain.key"
},
dumb: "yes",
//type: "full",
//network: "test",
log: {
//level: "verbose"
}
}