-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathburst-pool-config.js
57 lines (56 loc) · 1.91 KB
/
burst-pool-config.js
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
module.exports = {
wallets : [
{
walletIP : '127.0.0.1',
walletPort : 8125,
walletUrl : 'http://127.0.0.1:8125'
}
],
redirection : {
enabled : false,
target : 'http://lhc.ddns.net:8124'
},
walletIndex: 0,
blockMature : 1,
txFeePercent : 0.0005,
poolFee : 0.0015,
poolDiff : 1000000,
poolDiffCurve : 0.75,
poolPort : 8124,
poolPvtKey : '<pool private key>',
poolPublicRS : '<pool public key RS format>',
poolPublic : '<pool public key numeric format',
poolFeePaymentAddr : '<pool fee account numeric format>',
defaultPaymentDeadline : 1440,
poolFeePaymentTxFeeNQT : 100000000,
httpPort : 80,
websocketPort : 4443,
enablePayment : true,
minimumPayout : 250.0,
clearingMinPayout : 2.0,
lastSessionFile : 'last-session.json',
cumulativeFundReduction : 0.5,
nextBlockFundSaving : 0.5,
logWebsocketToConsole : false,
maxRoundCount : 97,
sharePenalty : 0.001,
maxRecentPaymentHistory : 50
};
/*
SubmitNonce = {
secretPhrase, (private-key) ---> secretAccount (public-key) <----------+
+-- nonce, |
| accountId ---> getRewardRecipient() ---> rewardId (public-pool-address) -+
| | ^
} | | |
V V |
nonce + genAccount |
| | |
+____________+ |
| |
V |
Deadline |
| (if smallest) |
V |
Forge() ------> getRewardRecipient() --------+
*/