We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{"id":1,"method":"mining.subscribe","params":["miner",null,"vds.uupool.cn","13032"]} {"id":1,"result":[null,"27fff23b"],"error":null} // nonce1
nonce1 is first part of the block header nonce (in hex).
By protocol, Vds's nonce is 32 bytes long. The miner will pick nonce2 such that len(nonce2) = 32 - len(nonce1).
{"id":2,"method":"mining.authorize","params":["VccHuzptstLQ5wfefJMW5z21v9owbGeJ2pz.worker1","z"]} // params: [username, password] {"id":2,"result":true,"error":null} {"id":null,"method":"mining.set_target","params":["0000ccccccccccccd00000000000000000000000000000000000000000000000"]}
{ "id": null, "method": "mining.notify", "params": ["cccd", "00000020", "e236f616fab4ddcd3cd4453783a7e7f8ff10b8c8fd7bca8a22d6909b1bea23e0", "6de853a7b016e0b8fab8d323b280424da311aeda849db7ce6ef7d4f4ae7180c9", "1237a2ba8cbb0f3d3ee3c47a20d65c7dcc7a3af42ec797fd3c377a1ef15abf67", "4e4f3b5a0b020100", "74cad75c", "0205021d", "309e31d8b6091083a0435e4fe4f2fdcfa6ab55e09dbeda777b4e03541e4c7ddc", "a16997c2f860cc59fbfcde695c5fc15426f9cd4cd0b02c764c43d7a080ec852f", true] } // params: [jobId, version, prevHash, merkleRoot, hashFinalSaplingRoot, nvibpool, nTime, nBits, stateRoot, utxoRoot, cleanJobs]
[{"id":102,"method":"mining.submit","params":["tmAfQj8jv7SMuCpzSkPMTR8v8AaKzQkJ7P2.worker1","cccd","e8e4d05c","b5080000000000000000000000000005000000000000000000000000","440750c27044fe2605a6c164e0b2905b708118c29e01d466fc177525d542157f61e22f29024fb2a1ea3d5508f58ff22a8e0dbf162c8bb3f7d9827f4194ed5f8a6a5a25518a"]} // params: [username, jobId, time, nonce2, equihashSolution] {"id":100,"result":true,"error":null} // accepted response {"id":100,"result":false,"error":[20,"invalid solution"]} // rejected response](url)
nonce2 is the second part of the block header nonce.
solution should be 69 bytes long.
In this example nonce = nonce1 + nonce2 = 27fff23bb5080000000000000000000000000005000000000000000000000000 header = 00000020e236f616fab4ddcd3cd4453783a7e7f8ff10b8c8fd7bca8a22d6909b1bea23e06de853a7b016e0b8fab8d323b280424da311aeda849db7ce6ef7d4f4ae7180c91237a2ba8cbb0f3d3ee3c47a20d65c7dcc7a3af42ec797fd3c377a1ef15abf674e4f3b5a0b02010074cad75c0205021d309e31d8b6091083a0435e4fe4f2fdcfa6ab55e09dbeda777b4e03541e4c7ddca16997c2f860cc59fbfcde695c5fc15426f9cd4cd0b02c764c43d7a080ec852f27fff23bb5080000000000000000000000000005000000000000000000000000 (212 bytes excluding solution) headerWithSolution = 00000020e236f616fab4ddcd3cd4453783a7e7f8ff10b8c8fd7bca8a22d6909b1bea23e06de853a7b016e0b8fab8d323b280424da311aeda849db7ce6ef7d4f4ae7180c91237a2ba8cbb0f3d3ee3c47a20d65c7dcc7a3af42ec797fd3c377a1ef15abf674e4f3b5a0b02010074cad75c0205021d309e31d8b6091083a0435e4fe4f2fdcfa6ab55e09dbeda777b4e03541e4c7ddca16997c2f860cc59fbfcde695c5fc15426f9cd4cd0b02c764c43d7a080ec852f27fff23bb5080000000000000000000000000005000000000000000000000000440750c27044fe2605a6c164e0b2905b708118c29e01d466fc177525d542157f61e22f29024fb2a1ea3d5508f58ff22a8e0dbf162c8bb3f7d9827f4194ed5f8a6a5a25518a powHash = scrypt_1024_1(headerWithSolution) = 0000000187b3f0406c9376cf207f555caea471d409bbd67069e5ae4dbbfcaef4
The text was updated successfully, but these errors were encountered:
it's like MNX ,use equihash 96/5
Sorry, something went wrong.
No branches or pull requests
mining.subscribe
nonce1 is first part of the block header nonce (in hex).
By protocol, Vds's nonce is 32 bytes long. The miner will pick nonce2 such that len(nonce2) = 32 - len(nonce1).
mining.authorize
mining.notify
mining.submit
nonce2 is the second part of the block header nonce.
solution should be 69 bytes long.
The text was updated successfully, but these errors were encountered: