CPU Miner return Internal Server Error for getblocktemplate request

CPU Miner return Internal Server Error for getblocktemplate request

I was developing altcoin using bitcoin v 0.17 . For mining purpose, I have used CPU miner. I started the miner using this command:

./minerd -a sha256d -o http://localhost:19230 -O adreno:adreno@123 --coinbase-addr=2NDMNtJB4wR2mEkDpFiqSr7yzuYAzT7dpDZ -D --protocol-dump

I got this response

[2018-10-30 22:18:47] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"], "rules": ["segwit"]}], "id":0}


* Rebuilt URL to: http://localhost:19230/
[2018-10-30 22:18:47] Binding thread 1 to cpu 1
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 19230 (#0)
* Server auth using Basic with user 'adreno'
> POST / HTTP/1.1
Host: localhost:19230
Authorization: Basic YWRyZW5vOmFkcmVub0AxMjM=
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 147
User-Agent: cpuminer/2.5.0
X-Mining-Extensions: midstate

* The requested URL returned error: 500 Internal Server Error
* stopped the pause stream!
* Closing connection 0
[2018-10-30 22:18:47] HTTP request failed: The requested URL returned error: 500 Internal Server Error

When i directly hit the RPC server with getblocktemplate request. I got this response

{"result":null,"error":{"code":-10,"message":"Adreno is downloading blocks..."},"id":"1"}
https://ift.tt/2qjekXX

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password