-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.example.json
107 lines (107 loc) · 3.68 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
{
"pool_name": "TESTNET - Merged Mining",
"port": "3643",
"max_connections": 99,
"connection_timeout": "10s",
"pool_difficulty": 2000,
// Arbitrary data to add to every block
"block_signature": "ShowUrFace2DefeatWChinHi",
// If you have multiple chains, what order should they be considered in
"merged_blockchain_order": [
"litecoin", // Primary chain
"dogecoin" // Aux1
// Aux N..
],
"blockchains": {
"dogecoin": [
{
"name": "localhost",
"rpc_url": "http://127.0.0.1:44555",
"rpc_username": "asdf",
"rpc_password": "asdf",
"block_notify_url": "tcp://localhost:1222",
"timeout": "10s",
"reward_to": "nc9AHNBPksJbf6wig78zE8BMmKND6hLvnc"
},
{
"name": "backup",
"rpc_url": "http://192.1.1.1:44555",
"rpc_username": "asdf",
"rpc_password": "asdf",
"block_notify_url": "tcp://localhost:1222",
"timeout": "10s",
"reward_to": "nc9AHNBPksJbf6wig78zE8BMmKND6hLvnc"
}
],
"litecoin": [
{
"name": "localhost",
"rpc_url": "http://127.0.0.1:44555",
"rpc_username": "asdf",
"rpc_password": "asdf",
"block_notify_url": "tcp://localhost:1222",
"timeout": "10s",
"reward_to": "tltc1qyxmwasu29zxde5cuyc6m603c2x2lxlm0cq3gx7"
},
{
"name": "backup",
"rpc_url": "http://192.1.1.1:44555",
"rpc_username": "asdf",
"rpc_password": "asdf",
"block_notify_url": "tcp://localhost:1222",
"timeout": "10s",
"reward_to": "tltc1qyxmwasu29zxde5cuyc6m603c2x2lxlm0cq3gx7"
}
]
},
// All shares get written to memory at first, then mass inserted into persistence
"share_flush_interval": "5s",
// How large the hashrate window is in HR calculations
"hashrate_window": "10m",
// How often to make a stats point
"pool_stats_interval": "2m",
"persistence": {
"host": "127.0.0.1",
"port": 5432,
"user": "merged_mining",
"password": "bXVxE8AyeSAMPLESdscfTSAMPLE9TWQ",
"database": "merged_mining",
"sslmode": "disable"
},
"payouts": {
// How often to run payouts
"interval": "10m",
"scheme": "PPLNS",
"chains": {
"litecoin": {
// Can be different than reward_to I.e. PPS
"reward_from": "tltc1qyxmwasu29zxde5cuyc6m603c2x2lxlm0cq3gx7",
"pool_rewards": [
{
"address": "tltc1qyxmwasu29zxde5cuyc6m603c2x2lxlm0cq3gx7",
"percentage": 0.01
}
],
"miner_min_payment": 0.25
},
"dogecoin": {
// Can be different than reward_to I.e. PPS
"reward_from": "nc9AHNBPksJbf6wig78zE8BMmKND6hLvnc",
"pool_rewards": [
{
"address": "nc9AHNBPksJbf6wig78zE8BMmKND6hLvnc",
"percentage": 0.01
}
],
"miner_min_payment": 100000
}
}
},
"api": {
"port": "8001"
},
// How often to run app stats
// Reports memory usage and Goroutine count
// This currently runs the programs blocking loop, so it's necessary to have > 0 value.
"app_stats_interval": "1m"
}