130 lines
3.0 KiB
Plaintext
130 lines
3.0 KiB
Plaintext
|
// this file please use .conf
|
||
|
{
|
||
|
"master":{
|
||
|
"pooldb":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"sharesdb":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"distribution":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"hashrate":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"users_addresses":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"balance":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
}
|
||
|
},
|
||
|
"slave":{
|
||
|
"pooldb_slave":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
},
|
||
|
"sharesdb_slave":{
|
||
|
"host": "",
|
||
|
"user": "",
|
||
|
"password": "",
|
||
|
"database": "",
|
||
|
"port":,
|
||
|
"waitForConnections": true,
|
||
|
"connectionLimit": 20,
|
||
|
"queueLimit": 0
|
||
|
}
|
||
|
},
|
||
|
"redis_options":{
|
||
|
"redis1":{
|
||
|
"host":"",
|
||
|
"port":,
|
||
|
"db":,
|
||
|
"connectTimeout":
|
||
|
}
|
||
|
},
|
||
|
"node_options":{
|
||
|
"node1":{
|
||
|
"rpcUser":"",
|
||
|
"rpcPassword":"<alph api-key>",
|
||
|
"rpcPort":,
|
||
|
"rpcHost":""
|
||
|
},
|
||
|
"node2":{
|
||
|
"rpcUser":"",
|
||
|
"rpcPassword":"<alph api-key>",
|
||
|
"rpcPort":,
|
||
|
"rpcHost":""
|
||
|
}
|
||
|
},
|
||
|
"retry_options":{
|
||
|
"node":{
|
||
|
"max_retries":,
|
||
|
"retry_delay":
|
||
|
}
|
||
|
},
|
||
|
"REPORT_ADDRESS":"",
|
||
|
"MAX_MATURE":,
|
||
|
"distribution_conf":{
|
||
|
"PPLNS_SIZE":,
|
||
|
"MODEL_PERCENT":{
|
||
|
"SCORE":,
|
||
|
"PPLNS":,
|
||
|
"PROPDIF":
|
||
|
},
|
||
|
"SCORE_PERCENT":{
|
||
|
"HASHRATE":,
|
||
|
"STDDEVS":
|
||
|
},
|
||
|
"POOL_FEE":
|
||
|
}
|
||
|
}
|