]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Mon, 16 Apr 2018 17:57:44 +0000 (20:57 +0300)
committerjl777 <[email protected]>
Mon, 16 Apr 2018 17:57:44 +0000 (20:57 +0300)
src/komodo_bitcoind.h

index ac1568913d1c17d3bde496228913070ed1e22cc9..05db31fa9d04e34dda7d03ce7844d7923fa47e3c 100644 (file)
@@ -856,21 +856,22 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],uint32_t bloc
     komodo_chosennotary(&notaryid,height,pubkey33,blocktimes[0]);
     if ( height >= 82000 )
     {
+        fprintf(stderr,"lag.%d ht.%d n.%d blocktimes[%u vs %u %u]\n",blocktime-blocktimes[1],height,notaryid,blocktime,blocktimes[0],blocktimes[1]);
         if ( notaryid >= 0 )
         {
             for (i=1; i<66; i++)
             {
                 if ( mids[i] == notaryid )
                 {
-                    //for (j=0; j<66; j++)
-                    //    fprintf(stderr,"%d ",mids[j]);
-                    //fprintf(stderr,"ht.%d repeat notaryid.%d in mids[%d]\n",height,notaryid,i);
                     if ( height > 792000 )
+                    {
+                        for (j=0; j<66; j++)
+                            fprintf(stderr,"%d ",mids[j]);
+                        fprintf(stderr,"ht.%d repeat notaryid.%d in mids[%d]\n",height,notaryid,i);
                         return(-1);
-                    else break;
+                    else break;
                 }
             }
-            fprintf(stderr,"lag.%d ht.%d n.%d blocktimes[%u vs %u %u]\n",blocktime-blocktimes[1],height,notaryid,blocktime,blocktimes[0],blocktimes[1]);
             if ( blocktime < blocktimes[1]+57 )
             {
             } else return(1);
This page took 0.028819 seconds and 4 git commands to generate.