Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS not showing found blocks and not paying it to the correct address #18

Open
mario1987 opened this issue Aug 24, 2017 · 10 comments
Open

Comments

@mario1987
Copy link

@vagabondan As I have found a block this is not shared with CS It is only added to the pool wallet

The block that I found is updated in the wallet
naamloos

These are the logs with the time when the block was found
BlockFoundProof.TXT
CS Debug.TXT
CS packet-20170824.TXT
CS SERVER.TXT

In the debug log of CS it says

System.NullReferenceException: Object reference not set to an instance of an object.
at CoiniumServ.Shares.ShareManager.SubmitBlock(IShare share) in C:\Users\Administrator\Desktop\New folder\CoiniumServ-mario-x11-special_edition\src\CoiniumServ\Shares\ShareManager.cs:line 258

I don't know if this causes the problem or not.

On CS the API is not updated with the information as can be seen in the pic
apinoconfirmedblocks
noblockstatus

Also the Last Block in not updated
csnolastblock

What I think that causes the problem is this config but I am not sure of it
config in coins folder.txt

Redis server works fine
redis
redis-in-action

As for sql the blocks that were found were not inserted in sql
sql-foundblocks
sql-nopayments
sql-transactions
sql-versioninfo
sql-wallet
sql-stats

@mario1987
Copy link
Author

@vagabondan I just found a block and I think I know what the problem is. CS or wallet the found block to sql. But I don't know how to solve this. When I look is mysql the account associated for this pool has all privileges on the database.

@vkynchev
Copy link

@mario1987 Which release are you running? You could try compiling my version, if the problem is gone the fix is somewhere in the commits... I've made 20+ changes so I cannot post PR(but @vagabondan can... if he wants 🙂 ). Also you could start the coin daemon with testnet=1 in the coin config file so you could test block functionality very fast.

@vkynchev
Copy link

vkynchev commented Aug 26, 2017

@mario1987 @vagabondan Also there was a problem with Block table where Reward was not Decimal, but Bool...

@mario1987
Copy link
Author

@vkynchev Does your version do payouts ?? and update the CS about blocks ?? If it does I will give it a try.
But for now I am using unomp I am not relay happy with it but is does work and do payouts.

I am using the version of vagabondan. tnx for the comment by the way.

@vkynchev
Copy link

vkynchev commented Aug 27, 2017

@mario1987 Yes, It does the payouts (LTC & SCORE(scorecoin)) but I have not tested it with RBC(it should work btw)... Currently I am testing with LTC (Scrypt) and after about a month I'll test with DASH (x11)...

This screenshot is from my scorecoin wallet("" -> pool wallet, "user1" -> user which is mining, "vkynchev" -> account for fees). I've setup 0.4% for "vkynchev" and 0.1% for ""(this has to be done to substract payout fees)...
screen shot 2017-08-27 at 12 28 53

@mario1987
Copy link
Author

@vkynchev great I will test it in the following week when i have time.
Are you running CoiniumServ in docker ??

@vkynchev
Copy link

@mario1987 Yes, I am running it in docker with docker-compose... Also I've dockerized the coin daemons and the DBs(redis & mysql).

The screenshot is from the scorecoind container 🙂

@vagabondan
Copy link
Owner

@vkynchev Excuse me, I didn't catch why you are not able to post PR? Develop branch was fully synchronized with yours.

@vkynchev
Copy link

@vagabondan I made them locally and they were mainly for customization(changing names, info, etc) But currently I have no free time to work on CS...

@CMvet
Copy link

CMvet commented Jan 19, 2018

@vkynchev I'm having the same issue with CS. I get about 40% orphan blocks on Pokercoin (PoW/PoS), the found blocks only show up in the coin daemon but not in CS. Mysql and redis all working appropriately and connecting fine to CS. I'm running Bonesoul's version as I haven't had a chance to compile vagabondans version on windows to see if that one corrects the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants