libblkmaker
libblkmaker copied to clipboard
coinbasevalue 0 reported as missing
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
With Bitcoin?
yes sir (not the bitcoin main network) trying to run it locally on a regtest network
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
Also this happens when subsidy is 0, older versions without segwit work fine
Please check that #13 fixes your issue correctly.
@luke-jr You sir are a Genius! thanks for the prompt response, Pulled the branch from your repo and compiled, works well..
❤️❤️❤️❤️💵💵❤️