diff --git a/.gitignore b/.gitignore index 81544ce..c73b7c0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ docker-compose.override.yml .idea/ node_modules/ pool_configs/*.json +.vs/ diff --git a/coins/btcz.json b/coins/btcz.json new file mode 100644 index 0000000..f6a1282 --- /dev/null +++ b/coins/btcz.json @@ -0,0 +1,18 @@ +{ + "name": "bitcoinz", + "symbol": "btcz", + "algorithm": "equihash", + "parameters": { + "N": 144, + "K": 5, + "personalization": "BitcoinZ" + }, + "requireShielding": true, + "txfee": 0.0001, + "peerMagic": "24e92764", + "explorer": { + "txURL": "https://explorer.btcz.rocks/tx/", + "blockURL": "https://explorer.btcz.rocks/block/", + "_comment_explorer": "This is the coin's explorer full base url for transaction and blocks i.e. (https://explorer.coin.com/tx/). The pool will automatically add the transaction id or block id at the end." + } +} diff --git a/pool_configs/examples/btcz.json b/pool_configs/examples/btcz.json new file mode 100644 index 0000000..515355a --- /dev/null +++ b/pool_configs/examples/btcz.json @@ -0,0 +1,91 @@ +{ + "enabled": false, + "coin": "btcz.json", + + "address": "", + "_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.", + + "zAddress": "", + "_comment_zAddress": "a private address used to send coins to tAddress.", + + "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, + + "rewardRecipients": { + "": 0.2 + }, + + "tlsOptions": { + "enabled": false, + "serverKey": "", + "serverCert": "", + "ca": "" + }, + + "paymentProcessing": { + "enabled": true, + "minConf": 10, + "paymentMode": "prop", + "_comment_paymentMode": "prop, pplnt", + "paymentInterval": 90, + "_comment_paymentInterval": "Interval in seconds to check and perform payments.", + "minimumPayment": 0.1, + "maxBlocksPerPayment": 3, + "daemon": { + "host": "127.0.0.1", + "port": 1979, + "user": "rpcuser", + "password": "rpcpassword" + } + }, + + "ports": { + "1234": { + "tls": false, + "diff": 0.5, + "varDiff": { + "minDiff": 0.04, + "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": 1979, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 1989, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "btcz", + "checkPassword": true, + "autoCreateWorker": false + } + +}