Permalink
Newer
Older
100644 58 lines (57 sloc) 1.9 KB
Sep 11, 2014 @uraymeiviar initial commit
1 module.exports = {
2 wallets : [
3 {
4 walletIP : '127.0.0.1',
5 walletPort : 8125,
6 walletUrl : 'http://127.0.0.1:8125'
7 }
8 ],
9 redirection : {
10 enabled : false,
11 target : 'http://lhc.ddns.net:8124'
12 },
13 walletIndex: 0,
14 blockMature : 1,
15 txFeePercent : 0.0005,
Nov 26, 2016 Payments On New Block Rewrite
16 devFee : true,
Dec 12, 2016 Configurable Development Fee %
17 devFeePercent : 0.01,
18 poolFee : 0.01,
Sep 11, 2014 @uraymeiviar initial commit
19 poolDiff : 1000000,
20 poolDiffCurve : 0.75,
21 poolPort : 8124,
22 poolPvtKey : '<pool private key>',
Nov 26, 2016 Payments On New Block Rewrite
23 poolPublicRS : 'BURST-F3XD-Y4M5-SN8C-G9FFJ',
24 poolPublic : '16732464642587527083',
25 poolFeePaymentAddr : '17572168194578653714',
Sep 11, 2014 @uraymeiviar initial commit
26 defaultPaymentDeadline : 1440,
27 poolFeePaymentTxFeeNQT : 100000000,
28 httpPort : 80,
29 websocketPort : 4443,
30 enablePayment : true,
31 minimumPayout : 250.0,
32 clearingMinPayout : 2.0,
33 lastSessionFile : 'last-session.json',
34 cumulativeFundReduction : 0.5,
35 logWebsocketToConsole : false,
36 maxRoundCount : 97,
37 sharePenalty : 0.001,
38 maxRecentPaymentHistory : 50
39 };
40
41 /*
42 SubmitNonce = {
43 secretPhrase, (private-key) ---> secretAccount (public-key) <----------+
44 +-- nonce, |
45 | accountId ---> getRewardRecipient() ---> rewardId (public-pool-address) -+
46 | | ^
47 } | | |
48 V V |
49 nonce + genAccount |
50 | | |
51 +____________+ |
52 | |
53 V |
54 Deadline |
55 | (if smallest) |
56 V |
57 Forge() ------> getRewardRecipient() --------+
58 */