pooler / cpuminer

CPU miner for Litecoin and Bitcoin
https://bitcointalk.org/index.php?topic=55038.0
Other
2.79k stars 1.21k forks source link

How i can dissplay ( debug nonce and blocks?) #195

Closed mraksoll4 closed 4 years ago

mraksoll4 commented 4 years ago

How i can display at debug current nonce/rawblock data ?) where add code ? and how i can make fixed / randome nonce ? where need add changes ? ( i cannot find line of code where is create and input nonce )

pooler commented 4 years ago

This is an issue tracker, not a help forum. Closing.

mraksoll4 commented 4 years ago

This is issue , i cannot see debug info of nonce etc . How i can see any issue if i cannot make low level debug :/ This why i ask where is line with result nonce before it be add to block and roundet with algo. and see result after roundet before it send to submitblock/submitheader. If there was comments at code i will never ask , but there is no comments about from where and to where it go. Need use debuger to figurate.

pooler commented 4 years ago

All submitted information, including nonces, is printed if you enable the protocol dump (-P).

mraksoll4 commented 4 years ago

Its print only rpc protocol info :( get an and push requst of rpc ) but need debug miner variable before nonce is add to block header and rolled at algo , and result before it try submitblockhash , and submitblock. And maybe slow down hashrate for see it per-hash work.

the code is litle confus me. Sorry if i waste your time , i simple try use debuger .