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

RPC-connection problems #103

Closed
coinflow opened this issue Mar 29, 2017 · 16 comments
Closed

RPC-connection problems #103

coinflow opened this issue Mar 29, 2017 · 16 comments

Comments

@coinflow
Copy link

Hi Rav3enPL,

after upgrading the Mooncoin-daemon to the latest version, P2Pool seems to have difficulties connecting to the daemon. mooncoindev is pointing at p2pool as the culprit, as the new wallet is based on a 0.10-Litecoin-version, which has deprecated getwork and getblocktemplate ...?

See: mooncoindev/mooncoin#2

Any idea? As there are working Litecoin P2Pool-nodes, I assume it could not be too hard to make it work for Mooncoin again, right?

Thanks and best regards

coinflow

@Rav3nPL
Copy link
Owner

Rav3nPL commented Mar 30, 2017

I`ll look into it, just need compile and run/sync deamon.

@coinflow
Copy link
Author

coinflow commented Apr 6, 2017

Thanks. Have you checked it already?

@coinflow
Copy link
Author

coinflow commented Apr 6, 2017

@Rav3nPL
Copy link
Owner

Rav3nPL commented Apr 6, 2017

gut pull and try "./run_p2pool.py --net Mooncoin" (capital "M")
I have no script miner to check it.

@coinflow
Copy link
Author

coinflow commented Apr 7, 2017

Looking at the commit (4a4aa6a) it is essentially only changing the filenames to capital "M", or did I miss something else?

After doing this and restarting via ./run_p2pool.py --net Mooncoin there still is the message:
"Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!"

Any other idea, what could be the problem?

@Rav3nPL
Copy link
Owner

Rav3nPL commented Apr 7, 2017

Not only filenames.
New daemon is using ~/.Mooncoin (not ~/.mooncoin) directory and Mooncoin.conf (not mooncoin.conf), so .py files need to search another file in another place.

@coinflow
Copy link
Author

coinflow commented Apr 7, 2017

Yes, I know about that. The new daemon changed naming-"conventions".
So the daemon itself starts fine on the system and uses the config-file. But when p2pool starts, it throws the message above. Hence my question whether the only changes you made to the p2pool-repository are the renaming of the two files ../network/mooncoin.py to Mooncoin.py, since I could not find any other commit in your rep to check against ...

@Rav3nPL
Copy link
Owner

Rav3nPL commented Apr 7, 2017

There is something wrong on your side then, P2Pool is staring on my node w/o any errors.

@coinflow
Copy link
Author

coinflow commented Apr 7, 2017

Thanks.
Then I'll check that again. Strange thing is, that I never had any problems with other coins and the older versions of Mooncoin (just did an update and it worked). But according to your conclusion, the problem is not p2pool as such, like mooncoindev stated (see the linked issue above)?
Do you have an IP-address or URL of your p2pool-node to countercheck functionality with a miner?

@Rav3nPL
Copy link
Owner

Rav3nPL commented Apr 7, 2017 via email

@coinflow
Copy link
Author

Now I've simply pulled the whole repository again, replaced web-static folder with the old one (modified from blixnood's: https://github.com/blixnood), et voilà: it works! :-)

See the Mooncoin P2Pool-scanner, reflecting the nodes: http://5.45.105.66

Thanks again for your help.

@mooncoincore
Copy link

@coinflow works now? can you explain where was the issue? you just replace the webstatic folder?

@coinflow
Copy link
Author

coinflow commented Dec 27, 2017

I have replaced web-static folder with a slightly modified one (only the contents) of blixnood (not available anymore on GitHub, as it seems), But the original one from Rav3n should work fine, too. This one is nice, too: https://github.com/hardcpp/P2PoolExtendedFrontEnd
With blixnoods today I encountered this error in the screen -r-window: p2pool#138
As Rav3n also posted in that issue, maybe he can give us a hint on how to change the code in the other frontends ...?

@mooncoincore
Copy link

mooncoincore commented Dec 27, 2017

It's not working..
miner report in http://5.45.105.66 found 1345 blocks in 39 seconds.
also i saw this in pool site
Expected time to block | 4.0200000000000005e+56 hours
From wallet rpc i got right values from getinfo, getdifficulty, etc.
Also the same happens with unomp and in their soft report a very weird diff(3.503059897978045e+63).
Something is wrong with wallet and pool communication..
@Rav3nPL how pool retrieve the "expected time to block" or difficulty? Maybe is dif rpc command from getdifficulty which i didn't inspect?
Or maybe subsidy, or anything i need to check in the wallet rpc?
Also, the new wallet has segwit feature.

@coinflow
Copy link
Author

The backend reported "Got Share!" over and over again, not "Got Block!". Are you sure you are connecting with a Scrypt-miner?

@Rav3nPL
Copy link
Owner

Rav3nPL commented Dec 27, 2017

Closing, lets use ONE therad: #105

@Rav3nPL Rav3nPL closed this as completed Dec 27, 2017
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

3 participants