Bitcoin Forum
May 01, 2024, 07:33:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / veriblock stratum protocol on: February 24, 2021, 11:05:53 AM
hi
I am designing my own personal miner for Veriblock
But I have a problem and that is that there is no instructions for the stratum protocol for veriblock in the net
I get the same data when I join the stratum pool

{"id":null,"method":"mining.notify","params":["109b031f","8da9ae1219dee21a4825b1573a43c29a645d4adeca010c20ac18267796f6c2d0","9E6C79EA1C999A4D65652AC2C2498A708EAB3066B11731D00EC7AD153C8CB27E",1954051,true]}

Some data is not sent by the server such as coinb1 extranonce1,...
And I do not know how to combine this data and hash with vblake algorithm to find nonce

109b031f => jobid
8da9ae1219dee21a4825b1573a43c29a645d4adeca010c20ac18267796f6c2d0 => I do not know what the field is
9E6C79EA1C999A4D65652AC2C2498A708EAB3066B11731D00EC7AD153C8CB27E => I do not know what the field is
1954051 => blockindex
true => cleanjob

In Bitcoin, I do these steps
coinbase = coinb1 + extranonce1 + extranonce2 + coinbase2
coinbasehash=sha256d(coinbase)
for branch in merklebranch
{
   hash=coinbasehash+branch
   coinbasehash=sha256d(hash)   
}

do
{
  blockheader=LE(version)+SwapOrder(prevhash)+coinbasehash+LE(nt)+LE(nb)+LE(nonce++)
  blockhash=sha256d(blockheader)   
}
while(blockhash>dif)

this work fine for bitcoin

But I did not find any instructions for Veriblock
Can anyone help me?HuhHuhHuhHuhHuh?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!