]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Tue, 22 Nov 2016 10:02:45 +0000 (07:02 -0300)
committerjl777 <[email protected]>
Tue, 22 Nov 2016 10:02:45 +0000 (07:02 -0300)
src/miner.cpp

index 0bb74a0ccd881f803c0b654da0eaf6aecfa8bfcb..fc991af6251b657324d7be3cfc1a0f8c47d01d88 100644 (file)
@@ -609,7 +609,7 @@ void static BitcoinMiner(CWallet *pwallet)
             } else Mining_start = 0;
             while (true)
             {
-                if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 )
+                //if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 )
                     fprintf(stderr,"%s start mining loop\n",ASSETCHAINS_SYMBOL);
                 // Hash state
                 KOMODO_CHOSEN_ONE = 0;
@@ -637,13 +637,13 @@ void static BitcoinMiner(CWallet *pwallet)
                     solutionTargetChecks.increment();
                     if ( UintToArith256(pblock->GetHash()) > hashTarget )
                     {
-                        if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 )
+                        //if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 )
                             fprintf(stderr,"missed target\n");
                         return false;
                     }
                     if ( ASSETCHAINS_SYMBOL[0] == 0 && Mining_start != 0 && time(NULL) < Mining_start+ROUNDROBIN_DELAY )
                     {
-                        //printf("Round robin diff sleep %d\n",(int32_t)(Mining_start+ROUNDROBIN_DELAY-time(NULL)));
+                        printf("Round robin diff %d\n",(int32_t)(Mining_start+ROUNDROBIN_DELAY-time(NULL)));
                         sleep(Mining_start+ROUNDROBIN_DELAY-time(NULL));
                         KOMODO_CHOSEN_ONE = 1;
                     }
This page took 0.027007 seconds and 4 git commands to generate.