Closed DrHyperKALICH closed 7 years ago
@DrHyperKALICH you should have some output on the z-nomp server for payments, can you provide the message?
i see only this in z-nomp logs: 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.99691111), decreasing rewards by 0.1% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.9599142), decreasing rewards by 0.2% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.9229173), decreasing rewards by 0.3% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.88592038), decreasing rewards by 0.4% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] sendmany "" {"t1QZXfE75WKFfs3nRJSY9cy9L35hH5F6Lin":7.34275215,"t1Rbmua1iDjb1aR5CHaE2WnRgR4YTrA8Kpm":28.23459644,"t1ND8YaNqjyyU2dh7NSHuDpsTjRQeE55bab":1.27157486} 2017-08-22 13:31:01 [Payments] [zclassic] Error sending payments, decreased rewards by too much!!! 2017-08-22 13:31:01 [Payments] [zclassic] Finished interval - time spent: 10ms total, 1ms redis, 2ms daemon RPC
so z-nomp think there is not enough money, but there is 37.12441845 coins on the tAddress t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 and this address is in settings
no, it is this
2017-08-22 13:31:01 [Payments] [zclassic] Error sending payments, decreased rewards by too much!!!
I would just send 5 ZCL to the payment address to resolve it
So, pool cannt send payouts, and trying to decreased it. May be I need to set t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 account as default for sending coins in wallet, but how?
See edit above
you are using that address to send payments
"tAddress": "t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2", "_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
Send a few ZCL to t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2
@DrHyperKALICH My guess is someone has a balance, so balanced owed to miner x - balance of t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 = not enough to send payment
t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 have balance 37.12441845 and its unable to pay 36.88592038 ? Something strange
Miners balances: "t1QZXfE75WKFfs3nRJSY9cy9L35hH5F6Lin":7.34275215, "t1Rbmua1iDjb1aR5CHaE2WnRgR4YTrA8Kpm":28.23459644, "t1ND8YaNqjyyU2dh7NSHuDpsTjRQeE55bab":1.27157486
Have you looked at redis for all balances?
No, its info from logs. Can you advise me the right command for redis-cli?
https://redis.io/commands https://github.com/z-classic/z-nomp#3-start-the-portal
Provides a link to redis-commander as well
0.2 ZCL was send to t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 I will install redis-commander now
There is no payout sections in redis db
Its even cannt send 1 block reward
2017-08-22 15:46:41 [Payments] [zclassic] Insufficient funds (??) for payments (12.26542077), decreasing rewards by 0.1% and retrying 2017-08-22 15:46:41 [Payments] [zclassic] Insufficient funds (??) for payments (12.25315536), decreasing rewards by 0.2% and retrying 2017-08-22 15:46:41 [Payments] [zclassic] Insufficient funds (??) for payments (12.24088993), decreasing rewards by 0.3% and retrying 2017-08-22 15:46:41 [Payments] [zclassic] Insufficient funds (??) for payments (12.22862451), decreasing rewards by 0.4% and retrying 2017-08-22 15:46:41 [Payments] [zclassic] sendmany "" {"t1QZXfE75WKFfs3nRJSY9cy9L35hH5F6Lin":6.07986859,"t1Rbmua1iDjb1aR5CHaE2WnRgR4YTrA8Kpm":6.13649049} 2017-08-22 15:46:41 [Payments] [zclassic] Error sending payments, decreased rewards by too much!!!
Did you make changes to https://github.com/z-classic/z-nomp/blob/master/libs/paymentProcessor.js
As for where to look in redis rounds are under each coin, they remain there until paid, once paid the round is delete and payment recorded.
It is good practices to pre-load the payment address with enough coins to cover maxBlocksPerPayment,
I would suggest you familiarize yourself with libs/*.js to get a solid understanding on how things work on the back-end to better be able to troubleshoot issues
I did not change the paymentProcessor.js round are on their places, no payment records... Thanks for your suggestion, i will, but now i am only want payouts )
Plz help me with payouts, sending ZCL to t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2 did not help.
z_gettotalbalance { "transparent": "150.19847683", "private": "0", "total": "150.19847683" }
Is private must be 0?
listunspent gives me a lot of tx with "spendable": true
Just referencing relevant code that will throw the error... https://github.com/z-classic/z-nomp/blob/master/libs/paymentProcessor.js#L1068-L1076
For some reason the RPC response to sendmany
from coin daemon contains insufficient funds
as you can see the check in code.
It looks like your passing this check https://github.com/z-classic/z-nomp/blob/master/libs/paymentProcessor.js#L821
Sorry I don't have answer, but this info may help find it....
Did you have a resolution to this @DrHyperKALICH
@interbiznw i found a solution. you have to use ""
getaccountaddress ""
because
libs/paymentProcessor.js: var rpccallTracking = 'sendmany "" '+JSON.stringify(addressAmounts);
nomp send from ""
address
Hello!
Please help me with a payments:
{ "enabled": true, "coin": "zclassic.json",
4 blocks found. Coins shielded and unshielded. Now on t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2
http://zclexplorer.org/address/t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2
Final Balance | 37.12441845 ZCL
But there is still no payments....
2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.99691111), decreasing rewards by 0.1% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.9599142), decreasing rewards by 0.2% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.9229173), decreasing rewards by 0.3% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] Insufficient funds (??) for payments (36.88592038), decreasing rewards by 0.4% and retrying 2017-08-22 13:31:01 [Payments] [zclassic] sendmany "" {"t1QZXfE75WKFfs3nRJSY9cy9L35hH5F6Lin":7.34275215,"t1Rbmua1iDjb1aR5CHaE2WnRgR4YTrA8Kpm":28.23459644,"t1ND8YaNqjyyU2dh7NSHuDpsTjRQeE55bab":1.27157486} 2017-08-22 13:31:01 [Payments] [zclassic] Error sending payments, decreased rewards by too much!!! 2017-08-22 13:31:01 [Payments] [zclassic] Finished interval - time spent: 10ms total, 1ms redis, 2ms daemon RPC
in addition:
~/zclassic/src# ./zcash-cli listreceivedbyaddress 0 true [ { "address": "t1R3rPuVGdz5uiURixUHxUW1Q5YyYQxmFBm", "account": "no", "amount": 0.00000000, "confirmations": 0, "txids": [ ] }, { "address": "t1YYXtvbFddHxo2FD8cG2cmaQC5cTiymPo1", "account": "no", "amount": 0.00000000, "confirmations": 0, "txids": [ ] }, { "address": "t1ZinrAhuu2WsrMowHKCo2qtRZveLwB215P", "account": "no", "amount": 0.00000000, "confirmations": 0, "txids": [ ] }, { "address": "t1aLKiw8tb5em2WzsMBgMH4c6jW3xQG2QJ2", "account": "no", "amount": 37.12441845, "confirmations": 25, "txids": [ "3857e79030169e69e4ef172aa30ede8c438034716ae37ecd066217e8284d6356", "aca0d4b900e181a30db99975cb14af8ae2a113f03a4e576de1db9e91985a6394", "09d7e6b3d2c60c641765377cc0ff113a398f64258837c5b51ef235f8a4991e95" ] }, { "address": "t1bAqvcgteBwZSWkRknkKgdQmQKseKQfEUQ", "account": "", "amount": 0.00000000, "confirmations": 0, "txids": [ ] } ]