zone117x / node-open-mining-portal

A scalable all-in-one easy to setup cryptocurrency mining pool and portal written entirely in Node.js.
GNU General Public License v2.0
1.02k stars 1.03k forks source link

DarkCoin Stats not resetting #282

Open rjbrown opened 10 years ago

rjbrown commented 10 years ago

We are running several coins running successfully however our Darkcoin stats never reset after we solve a block like the other coins. For a while we were on a bad chain back when it forked so when we refreshed to the new chain we now have a negative balance. On the old chain automatic payments worked correctly, On the new chain I think the negative balance is affecting the automatic payouts since only the mining reward and pool fee is being sent out.

What can we do to make sure the stats reset on block solved ? How can we manually flush the stats/balance DB to see if the negative balance is whats stopping automatic payments?

nova4005 commented 10 years ago

I think I am having this same issue with my pool, I am three coins and darkcoin shares never reset and also I just found a block and have a balance in the account but payments are not going out to the miners? I have checked the daemon and RPC settings for the coin and pool_config and everything is matching up, payment processing is enabled. I am receiving the pool fee which is going to a different address, so that is working properly.

The only thing I did find is when I type darkcoind getbalance it shows the correct balance, but when I type darkcoind listaccounts my balances are negative.

Any help would be greatly appreciated as I am at a loss on what could be causing this problem.

rjbrown commented 10 years ago

I tried restarting redis, all of my stats reset to zero, however when we solved the next block same issue, the stats did not reset and zero payments went out to the minners, only mined payments from the chain worked.