Bitcoin Forum
December 11, 2024, 10:32:13 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: veriblock stratum protocol  (Read 91 times)
saeedsetareh (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 24, 2021, 11:05:53 AM
 #1

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?
saeedsetareh (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 24, 2021, 12:17:58 PM
 #2

anyone help me?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!