-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Next Parity version sets number to null for pending blocks #343
Comments
@sammy007 ping |
Nice smile |
@mvilera I see, thank you for the heads-up. |
@dvdplm you're welcome, about the topic, have you done any changes at the code base to fix this issue? or do you recommend any approach? |
I have not made any changes. I think the first thing I'd try is to see what happens if instead of exiting early in case of a parse error, we'd just let it continue anyway: perhaps knowing the |
I am working on it. |
The |
@sammy007 that's good news, and bad news. Do you mind opening an issue on geth for this? |
About what? I can't support two nodes with different rpc calls, geth is barely usable, parity is still usable, this pool no longer support geth. |
Alright, your project, your decision. (It might be appreciated by the geth people to at least know about this, that way they can make an informed decision to change or not as they please). cc @karalabe |
Geth people should just use Everyone who is running this pool must understand how it works and must know how to code simple stuff, apply patches, revert changes. This pool is widely used for shitcoin forks and all whining comes from those who are running pools for shitcoin forks so far. I care not about forks and forks are actually a main reason why this pool is no longer actively supported. I personally prefer parity over geth just because it is faster and many admins told me that it's pointless to continue using geth. My time is limited and I can't waste it to support two incompatible rpc interfaces just to make pool admins who are running it mostly for shitcoins happy. |
That makes total sense. 👍🏿 |
That is because they butchered the API. The response, "No longer supported" |
The ethereum RPC spec explicitly states that pending blocks should contain
null
for some members of the response object, notably thenumber
member.Until recently Parity did not respond according to the spec and after the change to adhere to spec (scheduled to be released in v1.11, currently in beta) this project breaks, as the code to store new jobs expects the
number
member to be auint
. See this issue on Parity for details.What is the reason open-ethereum-pool need the
number
of a pending block? Superficially it seems like the code here does not necessarily need this value to function, but perhaps there's a good reason for it?The text was updated successfully, but these errors were encountered: