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

coinbasevalue 0 reported as missing #12

Open
amansx opened this issue Feb 12, 2018 · 6 comments
Open

coinbasevalue 0 reported as missing #12

amansx opened this issue Feb 12, 2018 · 6 comments
Labels

Comments

@amansx
Copy link

amansx commented Feb 12, 2018

Hi,
BFGMiner runs in an infinite loop
with log
[2018-02-12 10:52:28] Could not convert longpoll data to work
[2018-02-12 10:52:28] blktmpl error: Missing either coinbasetxn or coinbasevalue

Built from the segwit branch

getblocktemplate:

 {  
    "capabilities": [     "proposal"   ],  
    "version": 536870912,   
    "rules": [     "segwit"   ],  
    "vbavailable": {   },   
    "vbrequired": 0,   
     "previousblockhash": 
     "00000000eb85cae3bd8b097829ca042742cb2ca7d60005264984753ebce17dfd",   
     "transactions": [   ],   
     "coinbaseaux": {     "flags": ""   },   
     "coinbasevalue": 0,   
     "longpollid": "00000000eb85cae3bd8b097829ca042742cb2ca7d60005264984753ebce17dfd13",   
     "target": "00000000ffff0000000000000000000000000000000000000000000000000000",   
     "mintime": 1518451484,   
     "mutable": [     "time",     "transactions",     "prevblock"   ],  
     "noncerange": "00000000ffffffff",   
     "sigoplimit": 80000,   
     "sizelimit": 4000000,   
     "weightlimit": 4000000,   
     "curtime": 1518452875,   
     "bits": "1d00ffff",   
     "height": 11 
}

thanks a bunch

@luke-jr
Copy link
Member

luke-jr commented Feb 12, 2018

With Bitcoin?

@amansx
Copy link
Author

amansx commented Feb 12, 2018

yes sir (not the bitcoin main network) trying to run it locally on a regtest network

@amansx
Copy link
Author

amansx commented Feb 12, 2018

Log looks like this:

[2018-02-12 11:25:56] CL Platform 0 vendor: Apple
[2018-02-12 11:25:56] CL Platform 0 name: Apple
[2018-02-12 11:25:56] CL Platform 0 version: OpenCL 1.2 (Oct 31 2017 18:30:00)
[2018-02-12 11:25:56] Platform 0 devices: 1
[2018-02-12 11:25:56] 0 Intel(R) Iris(TM) Graphics 6100
[2018-02-12 11:25:56] Unable to load ati adl library
[2018-02-12 11:25:56] Probing for an alive pool
[2018-02-12 11:25:56] Testing pool http://127.0.0.1:9900
[2018-02-12 11:25:56] blktmpl error: Missing either coinbasetxn or coinbasevalue
[2018-02-12 11:25:56] JSON decode failed(1): '[' or '{' expected near 'HTTP'
[2018-02-12 11:25:56] JSON decode failed(1): '[' or '{' expected near 'HTTP'
[2018-02-12 11:25:56] Closing socket for stratum pool 0
[2018-02-12 11:25:56] Pool 0 slow/down or URL or credentials invalid
[2018-02-12 11:25:57] No servers were found that could be used to get work from.
[2018-02-12 11:25:57] Please check the details from the list below of the servers you have input
[2018-02-12 11:25:57] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers

@amansx
Copy link
Author

amansx commented Feb 12, 2018

Also this happens when subsidy is 0, older versions without segwit work fine

@luke-jr luke-jr changed the title Could not convert longpoll data to work coinbasevalue 0 reported as missing Feb 12, 2018
@luke-jr luke-jr added the bug label Feb 12, 2018
@luke-jr
Copy link
Member

luke-jr commented Feb 17, 2018

Please check that #13 fixes your issue correctly.

@amansx
Copy link
Author

amansx commented Feb 19, 2018

@luke-jr You sir are a Genius! thanks for the prompt response,
Pulled the branch from your repo and compiled, works well..

@ikeedge

This comment was marked as spam.

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

No branches or pull requests

3 participants