Closed minkcrypto-zz closed 5 years ago
Connection itself works, getblocktemplate works on wallet however it doesn't work with miner
Ok, I think I am almost close to this issue
[2019-07-09 01:36:42]< JSON-RPC call failed: Method not found
D[2019-07-09 01:36:42]ate: Mon, 08 Jul 2019 16:36:42 GMT
JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"], "longpollid": "00000089ceb1f47296bca123ba1721fdfa3d2fb09bd2e5a32a8aa1af4de1ad0118"}], "id":0}
<
log from miner
{
"capabilities": [
"proposal"
],
"version": 536870912,
"rules": [
"csv",
"segwit"
],
"vbavailable": {
},
"vbrequired": 0,
"previousblockhash": "00000089ceb1f47296bca123ba1721fdfa3d2fb09bd2e5a32a8aa1af4de1ad01",
"transactions": [
],
"coinbaseaux": {
"flags": ""
},
"coinbasevalue": 5000000000,
"longpollid": "00000089ceb1f47296bca123ba1721fdfa3d2fb09bd2e5a32a8aa1af4de1ad0118",
"target": "0000013c01000000000000000000000000000000000000000000000000000000",
"mintime": 1562603499,
"mutable": [
"time",
"transactions",
"prevblock"
],
"noncerange": "00000000ffffffff",
"sigoplimit": 80000000,
"sizelimit": 4000000000,
"weightlimit": 4000000000,
"curtime": 1562603790,
"bits": "1e013c01",
"height": 2476
}
on cli
I'm not sure I understand the problem. It looks like it failed once but subsequently succeeded. It even received a new block after the initial error. What happens if you let it continue?
I don't think miner will work normally but I will try.
Why close, Does it work?
I haven't seen the miner submitting the share but I believe it may work.
I'm still curious about the intitial error message. I don't know if it happens with other coins/algos. Reopen if there's anything I should follow up.
The new output format hasn't been tested with gbt and some parts are enabled only for stratum. I may enable for gbt next release. You can follow https://github.com/JayDDee/cpuminer-opt/issues/190 to raise any issues with the output when using gbt.
Gives me error: