Skip to content

Commit

Permalink
Clean up configs (Oink70#1)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
egyptianbman authored Jul 18, 2018
1 parent 7ada9e7 commit ae1e02a
Show file tree
Hide file tree
Showing 13 changed files with 151 additions and 114 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules/
.idea/
config.json
.idea/
node_modules/
pool_configs/*.json
!pool_configs/zclassic_example.json
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions coins/zcash.json → coins/zec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "zcash",
"symbol": "zec",
"algorithm": "equihash",
"overwinter": true,
"requireShielding": true,
"payFoundersReward": true,
"percentFoundersReward": 20,
Expand Down
44 changes: 25 additions & 19 deletions pool_configs/komodo_example.json → pool_configs/examples/kmd.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enabled":false,
"coin": "komodo.json",
"enabled": false,
"coin": "kmd.json",

"address": "",
"_comment_address": "pools komodo address; ex, RSXGTHQSqwcMw1vowKfEE7sQ8fAmv1tmso",
Expand All @@ -11,57 +11,63 @@
"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
}
}
},

"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"
}
],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,62 +1,70 @@
{
"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
}
}
},

"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"
}
Expand Down
46 changes: 26 additions & 20 deletions pool_configs/zcash_example.json → pool_configs/examples/zec.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand All @@ -11,54 +11,60 @@
"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,
"tlsOptions": {
"enabled": false,
"serverKey": "",
"serverCert": "",
"ca": ""
},

"paymentProcessing": {
"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
}
}
},

"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"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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.",
Expand All @@ -12,54 +11,60 @@
"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
}
}
},

"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"
}
Expand Down
Loading

0 comments on commit ae1e02a

Please sign in to comment.