Clean up configs (#1)

This is something that has bugged me for quite some time, the configs
have just been thrown together without any conventions. This commit
renames all the config files to their symbol and moves testnet configs
into a testnet directory. I've also synced over some configs that are
available in some files but not in others.
This commit is contained in:
Beshoy Girgis 2018-07-17 23:12:36 -05:00 committed by GitHub
parent 7ada9e7e26
commit ae1e02a5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 151 additions and 114 deletions

5
.gitignore vendored
View File

@ -1,5 +1,4 @@
node_modules/
.idea/
config.json
.idea/
node_modules/
pool_configs/*.json
!pool_configs/zclassic_example.json

View File

@ -2,6 +2,7 @@
"name": "zcash",
"symbol": "zec",
"algorithm": "equihash",
"overwinter": true,
"requireShielding": true,
"payFoundersReward": true,
"percentFoundersReward": 20,

View File

@ -1,6 +1,6 @@
{
"enabled":false,
"coin": "komodo.json",
"enabled": false,
"coin": "kmd.json",
"address": "",
"_comment_address": "pools komodo address; ex, RSXGTHQSqwcMw1vowKfEE7sQ8fAmv1tmso",
@ -11,44 +11,47 @@
"tAddress": "",
"_comment_tAddress": "set to same as pools komodo address; ex, RSXGTHQSqwcMw1vowKfEE7sQ8fAmv1tmso",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 1,
"_comment_walletInterval": "Used to cache komodo coin stats, shielding not performed.",
"rewardRecipients": {
"": 1.0
"": 0.2
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
"serverKey": "",
"serverCert": "",
"ca": ""
},
"paymentProcessing": {
"minConf": 10,
"enabled": true,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 57,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 60,
"_comment_paymentInterval": "Interval in seconds to check and perform payments.",
"minimumPayment": 0.1,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 8232,
"user": "username",
"password": "password"
"port": 7770,
"user": "rpcuser",
"password": "rpcpassword"
}
},
"ports": {
"3857": {
"tls":false,
"diff": 0.05,
"1234": {
"tls": false,
"diff": 0.5,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
@ -56,12 +59,15 @@
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 8232,
"user": "username",
"password": "password"
"port": 7770,
"user": "rpcuser",
"password": "rpcpassword"
}
],

View File

@ -1,51 +1,56 @@
{
"enabled": false,
"coin": "zclassic.json",
"coin": "zcl.json",
"address": "t1dfrrxCHek2ts987VpZsRmFKBvdcBJ1Cqd",
"address": "",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "ztqgT4xsouCyjHXrFtXnDVgtvPRmURMgHQw2gd39dLdtoYkmPACScHturZjqsNdAPtP6JCLaWmZmYDqbjCMRgdCfQ2vjY2K",
"zAddress": "",
"_comment_zAddress": "a private address used to send coins to tAddress.",
"tAddress": "tmLqYHEnCiL4dpktEKdAKeRjPdkxNtJVWfb",
"tAddress": "",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 2.5,
"_comment_walletInterval": "Used to cache coin stats",
"rewardRecipients": {
"": 0.2
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
"serverKey": "",
"serverCert": "",
"ca": ""
},
"paymentProcessing": {
"minConf": 10,
"enabled": true,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 120,
"minimumPayment": 0.1,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 8232,
"user": "testuser",
"password": "testpass"
"port": 8033,
"user": "rpcuser",
"password": "rpcpassword"
}
},
"ports": {
"3032": {
"tls":false,
"diff": 0.05,
"1234": {
"tls": false,
"diff": 0.5,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
@ -53,10 +58,13 @@
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 8232,
"port": 8033,
"user": "rpcuser",
"password": "rpcpassword"
}

View File

@ -1,6 +1,6 @@
{
"enabled": false,
"coin": "zcash.json",
"coin": "zec.json",
"address": "",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
@ -11,43 +11,46 @@
"tAddress": "",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 2.5,
"_comment_walletInterval": "Used to cache coin stats",
"rewardRecipients": {
"": 0.2,
"": 0.3
"": 0.2
},
"tlsOptions": {
"enabled": false,
"serverKey": "",
"serverCert": "",
"ca": ""
},
"paymentProcessing": {
"minConf": 10,
"enabled": false,
"enabled": true,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"minimumPayment": 0.1,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 120,
"minimumPayment": 0.05,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 19332,
"port": 8233,
"user": "testuser",
"password": "testpass"
}
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
},
"ports": {
"3032": {
"diff": 0.05,
"1234": {
"diff": 0.5,
"tls": false,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
@ -55,10 +58,13 @@
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 8232,
"port": 8233,
"user": "rpcuser",
"password": "rpcpassword"
}

View File

@ -1,7 +1,6 @@
{
"enabled": false,
"coin": "zcash_testnet.json",
"coin": "testnet/zec.json",
"address": "",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
@ -12,43 +11,46 @@
"tAddress": "",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 2.5,
"_comment_walletInterval": "Used to cache coin stats",
"rewardRecipients": {
"": 0.2,
"": 0.3
"": 0.2
},
"paymentProcessing": {
"minConf": 10,
"enabled": false,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"minimumPayment": 0.1,
"maxBlocksPerPayment": 1,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 120,
"minimumPayment": 0.05,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 19332,
"user": "testuser",
"password": "testpass"
"port": 18233,
"user": "rpcuser",
"password": "rpcpassword"
}
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
"serverKey": "",
"serverCert": "",
"ca": ""
},
"ports": {
"3032": {
"1234": {
"diff": 0.05,
"tls": false,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
@ -56,10 +58,13 @@
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 18232,
"port": 18233,
"user": "rpcuser",
"password": "rpcpassword"
}

View File

@ -2,66 +2,69 @@
"enabled": false,
"coin": "zen.json",
"address": "znZfjUjJSbUBgMsEqKLXTGxKwUerWh5dDT4",
"address": "",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "zcDVvJbyyFLznbs7jJq974pZaHKsHnk8UXof1ief8HSfQMfG75CucWACCYAZN3vnprhUXCPCUD7vMGTzrFjTjy6nNriiDbe",
"zAddress": "",
"_comment_zAddress": "a private address used to send coins to tAddress.",
"tAddress": "znV763BSvdEySe3SCaTgHNiFrawiYzxRysb",
"tAddress": "",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"invalidAddress":"znhGeka9zXmixvw6ufzGpcaSXcSACrjx5WZ",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 2.5,
"_comment_walletInterval": "Used to cache coin stats",
"rewardRecipients": {
"": 0.2
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
"serverKey": "",
"serverCert": "",
"ca": ""
},
"paymentProcessing": {
"enabled": false,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 120,
"minimumPayment": 0.1,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 8231,
"port": 9033,
"user": "rpcuser",
"password": "rpcpassword"
}
},
"ports": {
"3032": {
"tls":false,
"diff": 2.5,
"1234": {
"tls": false,
"diff": 0.5,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 8231,
"port": 9033,
"user": "rpcuser",
"password": "rpcpassword"
}
@ -80,7 +83,7 @@
"port": 3306,
"user": "me",
"password": "mypass",
"database": "zcl",
"database": "zen",
"checkPassword": true,
"autoCreateWorker": false
}

View File

@ -1,50 +1,56 @@
{
"enabled": false,
"coin": "zen_testnet.json",
"coin": "testnet/zen.json",
"address": "ztXoXdBdoQ4WDxp9mtHNRoqZ9N5pCH2JNWe",
"address": "",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "ztZLon4AswWDcftwdN5Q94ADoZWPcCBBBHaHE84VVDd2bG9o8f6xuMFJgGMdYb35rwLi9LyGLCH3VoDBHKddrNnmEKg5N8c",
"zAddress": "",
"_comment_zAddress": "a private address used to send coins to tAddress.",
"tAddress": "ztj7WuC4ASGVw4r2mCUqgHhyQxzWpxYLbNg",
"tAddress": "",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"invalidAddress":"",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
"walletInterval": 2.5,
"_comment_walletInterval": "Used to cache coin stats",
"rewardRecipients": {
"": 0.2
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
"serverKey": "",
"serverCert": "",
"ca": ""
},
"paymentProcessing": {
"enabled": false,
"minConf": 10,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"_comment_paymentMode": "prop, pplnt",
"paymentInterval": 120,
"minimumPayment": 0.1,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 8232,
"user": "testuser",
"password": "testpass"
"port": 19033,
"user": "rpcuser",
"password": "rpcpassword"
}
},
"ports": {
"3032": {
"tls":false,
"diff": 2.5,
"1234": {
"tls": false,
"diff": 0.5,
"varDiff": {
"minDiff": 0.04,
"maxDiff": 16,
"maxDiff": 36,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
@ -52,10 +58,13 @@
}
},
"poolId": "main",
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
"daemons": [
{
"host": "127.0.0.1",
"port": 18231,
"port": 19033,
"user": "rpcuser",
"password": "rpcpassword"
}
@ -74,7 +83,7 @@
"port": 3306,
"user": "me",
"password": "mypass",
"database": "zcl",
"database": "zen",
"checkPassword": true,
"autoCreateWorker": false
}