Bitcoin Forum
May 12, 2024, 08:01:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining software (miners) / How to get block header from cpuminer on: April 21, 2021, 07:31:14 PM
I am new to bitcoin mining.
I want to give unique number to the cpuminer.
How can I do this ? ( I set this unique nonce myself. )
Also for this nonce, I need block header parameters in the moment.
How can I get this parameters from cpuminer ?
My last question is how to integrate these components with my unique nonce and get the block's hash ? ( That is, how do I import these parameters as input to the SHA-256 function ? )

I am happy with any guidance.
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!