@coin-project,we have an
issue with a wallet setting. @edric has already mentined it and now I can confirm it. You claim that 30 confimations are enough for a COIN to mature. I'm trying to install MPOS pool right now and I've encountered a payout issue if I set the number of required confirmations to 30. In MPOS logs I see:
ERROR --> Wallet does not cover AP payouts - Payout: 4000 - Balance: 1000
MPOS terminal assumes it has 4000 coins. But wallet can confirm only 1000 of them. Others have just not matured yet. What is interesting is that the problem persists. Some time later I see in the log file:
Wallet does not cover AP payouts - Payout: 7000 - Balance: 5000
which means that MPOS terminal
will never be able to manke payouts as the number of assumed coins is always larger then the wallet can confirm.
What is the real number of transactions required for a coin to mature? What did you set this number to when you were compiling the wallet?!
I'm sorry I didn't see your post before. I've had that issue with some of my other pools for the same reason, right now my Tesla pool is running in the negative because of "immature" coins. As long as those coins that are setting the wallet back aren't already "locked for users" as in ready to pay out by the system, then it shouldn't hurt anything. It's a flaw in MPOS, well not really a flaw, MPOS is doing what it's supposed to, but some additional handling for coins that "mature" since they behave slightly differently would be helpful. Since you're seeing errors out of it, though, one possible reason could be that you at some point had set confirms below 30, then back up, that can throw it off. If it's in the negative value MORE than the amount of unconfirmed you have, then you have a problem and it's going to be throwing errors. Try making a new "account" under your coin daemon, and use "./coind move "" "newacct" 10" then back again.. where "" is your default account, I'm assuming you know this. Then run ./coind move "newacct" "" 10 and see if it evens out. I've had a couple of pools bug out on me a little bit and moving coins back and forth actually helped, your mileage may vary though. Sending coins to another address and back did not help the problem, but using the "move" feature did, and I cannot even begin to tell you why! If you're still having problems being in the negative, temporarily funnel your personal coins into the pool's wallet until you build up a fee buffer to negate it, but your pool's liquid assets will ALWAYS be missing whatever is in your unconfirmed, so keep that in mind! Example, you have 5000 unconfirmed, and 5000 in your liquid assets, your actual liquid assets is 10000! It doesn't matter how many confirmations you have it set to, it's going to do this until they "mature" because of the way MPOS handles it. I've been meaning to have a chat with them about this, and a few other things. I have one of my pools on the brink of death (not Coin - we're good!) because of misbehaving wallets not passing TXID's along and MPOS not picking up certain things, so I know, lol, I know...
Good luck!