-
Notifications
You must be signed in to change notification settings - Fork 34
/
service.sample.conf
80 lines (64 loc) · 2.36 KB
/
service.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
{
// Pool service configuration
poolService: {
// Whether a pool service should run.
// Default: false
enabled: true,
// Password of the MySQL pool_service user.
mySqlPsw: 'password',
// Host the MySQL database runs on.
// Default: 'localhost'
mySqlHost: 'localhost'
},
// General mining pool configuration
pool: {
// Name announced to the client.
name: 'My Nimiq Pool',
// Pool address which the clients will set as miner address.
address: 'NQ07 0000 0000 0000 0000 0000 0000 0000 0000',
// 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,
// 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"
}
}