Bitcoin Forum
June 19, 2024, 05:11:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cgminer, nonce and timestamp  (Read 53 times)
suppamax (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 02, 2023, 09:40:51 AM
 #1

Dear cgminer users,

I hope you can help me with this.

I am studying an optimized way to schedule jobs to miners, and I'd like to test my approach with a GekkoScience Compact F miner.
Specifically, I'd like to constraint the nonce and timestamp ranges.
Would you please show me where cgminer is assigning jobs and setting nonces and timestamps?


Thanks
kano
Legendary
*
Offline Offline

Activity: 4522
Merit: 1846


Linux since 1997 RedHat 4


View Profile
January 02, 2023, 11:10:24 AM
 #2

The time stamp is constrained by the rules of bitcoin.

You say you aren't mining full nonce ranges, well an asic miner internally, in the asic hardware, mines full nonce ranges.
So it is useless to test incorrect theories about independent headers.

An ASIC miner is a 7000kg backhoe.
Do you eat your food with a backhoe?
No, you use a teaspoon.

So while your incorrect theory will not work anyway, you are using the wrong tool.

Go visit the scamcoins and ask them about CPU mining.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
suppamax (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 02, 2023, 07:15:33 PM
 #3

I don't understand the reason of this piqued reply.

ASICs allow limiting the nonce (some even the timestamp) ranges: I've checked the datasheets.

Me and my colleagues think we've identified a way to optimize BTC mining. To prove the theory we need an hashing platform pore powerful then CPUs, GPUs or FPGAs (which we're already using), and the ability to control these 2 parameters.
GekkoScience's Compact F would be a first step, but we need to understand how to bend the control to our needs.

Now, if you know how we could achieve this result, I would be grateful if you could answer the question: this would be a better starting point than cgminer's `main` function.

FYI: it's not an hobby project.
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!