Very new here.
I know that is crazy, but i need a miner that just try one value.
Don't wan't to loop for each possible nonce, just try my value then wait next block.
My candidates changes are in cpu-miner.c
1106 static void *miner_thread(void *userdata)
1107 {
1108 struct thr_info *mythr = userdata;
1109 int thr_id = mythr->id;
1110 struct work work = {{'5','6'}}; // WAS struct work work = {{0}};
Then modify the max_nonce, somewhere here :
1202 if (work.data[19] + max64 > end_nonce)
1203 max_nonce = end_nonce;
1204 else
1205 max_nonce = work.data[19] + max64;
1206 // ADDING SOMETHING HERE TO FORCE the max_nonce
But what value must i put in max_nonce ?
Thank you ...