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

Submit Block returns 500 Internal Server Error (GrandCoin) #74

Open
thatfrugalguy opened this issue Dec 11, 2013 · 1 comment
Open

Submit Block returns 500 Internal Server Error (GrandCoin) #74

thatfrugalguy opened this issue Dec 11, 2013 · 1 comment

Comments

@thatfrugalguy
Copy link

I am trying to set up a pool with GrandCoin and I also get the 500 Internal Server Error. When I post the data myself using curl, it returns: {"result":null,"error":{"code":-32601,"message":"Method not found"},"id":"1"}

Curl command:
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic " -d '{"params": [""], "jsonrpc": "2.0", "method": "submitblock", "id": "1"}' http://localhost:12378

Any thoughts?

@thatfrugalguy
Copy link
Author

Should mention that above, it should read: "params": [""]

Not sure if this help, but when it fails the submit block, it falls back to the getblocktemplate, which also fails:

curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic " -d '{"params": [{"data": "", "mode": "submit"}], "jsonrpc": "2.0", "method": "getblocktemplate", "id": "1"}' http://localhost:12378

{"result":null,"error":{"code":-1,"message":"ReadCompactSize() : size too large"},"id":"1"}

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

1 participant