i am deploying bitcoinz pool and my config:
Coin:
{
"name": "Bitcoinz",
"symbol": "btcz",
"algorithm": "equihash",
"requireShielding": true,
"txfee": 0.0001
}
pool:"coin": "bitcoinz.json",
"coin": "bitcoinz.json",
"address": "t1PPKiaskZsSXZb.....",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "zcNus9QdXx3skhE5KzQx9.......
"_comment_zAddress": "a private address used to send coins to tAddress.",
"tAddress": "t1JrZXDy5N......",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"walletInterval": 2.5,
"rewardRecipients": {
"t1diyf84HoFYztg.....":1.5
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
},
"paymentProcessing": {
"minConf": 10,
"enabled": true,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"minimumPayment": 100,
"maxBlocksPerPayment": 1,
"daemon": {
"host": "127.0.0.1",
"port": 3333,
"user": "xxxx",
"password": "xxx"
}
},
but always show the error
017-10-07 04:50:39 [Payments] [bitcoinz] Insufficient funds (0) to process payments (12312.5); possibly waiting for txs.
my balance
ubuntu@ip-172-31-34-70:~/bitcoinz-pkg$ ./zcash-cli z_gettotalbalance
{
"transparent": "12312.5001",
"private": "0.00",
"total": "12312.5001"
}
z-nomp/libs/paymentProcessor.js starting line 294
var amount = satoshisToCoins(zBalance - 10000);
// unshield no more than 100 ZEC at a time
if (amount > 20000.0)
amount = 20000.0;
This will change the maximum amount of coin to send to z_address from 100 to 20000 which will cover the 12500 block size and in the future any fees.
The reason is that its only shielding 100 coins at a time which is taking forever to shield because its 12500 coins a block.