]> Git Repo - VerusCoin.git/commitdiff
Revert "Test"
authorjl777 <[email protected]>
Thu, 16 Mar 2017 07:45:12 +0000 (09:45 +0200)
committerjl777 <[email protected]>
Thu, 16 Mar 2017 07:45:12 +0000 (09:45 +0200)
This reverts commit e2ab5cb17bfd117dd22a3df103529d2fb6ef4263.

src/komodo_gateway.h
src/miner.cpp

index d7127bdb65de7cd85e8ac14e4e314227573517d7..016309a86feb892d9066356408c94101673a1f3a 100644 (file)
@@ -661,7 +661,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
     {
         if ( n == 2 && block.vtx[0].vout[1].nValue > COIN/10 )
         {
-fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",height,dstr(block.vtx[0].vout[1].nValue),n);
+            //fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",height,dstr(block.vtx[0].vout[1].nValue),n);
             if ( height >= 235300 )
                 return(-1);
         }
@@ -701,9 +701,9 @@ fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",heigh
             {
                 if ( (sp= komodo_stateptrget(CURRENCIES[baseids[i-1]])) != 0 && (sp->RTmask & (1LL << baseids[i-1])) == 0 )
                 {
-                    printf("checkdeposit.%s not RT %llx\n",CURRENCIES[baseids[i-1]],(long long)sp->RTmask);
-                    //matched++;
-                    //continue;
+                    /*printf("skip checkdeposit.%s not RT %llx\n",CURRENCIES[baseids[i-1]],(long long)sp->RTmask);
+                    matched++;
+                    continue;*/
                 }
                 if ( (pax= komodo_paxfinds(txids[i-1],vouts[i-1])) != 0 ) // finds... make sure right one
                 {
@@ -724,7 +724,7 @@ fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",heigh
                         }
                         else
                         {
-                            //if ( opcode == 'X' && strcmp(ASSETCHAINS_SYMBOL,CURRENCIES[baseids[i]]) == 0 )
+                            if ( opcode == 'X' && strcmp(ASSETCHAINS_SYMBOL,CURRENCIES[baseids[i]]) == 0 )
                                 printf("check deposit validates %s %.8f -> %.8f\n",CURRENCIES[baseids[i]],dstr(srcvalues[i]),dstr(values[i]));
                             matched++;
                         }
@@ -756,7 +756,7 @@ fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",heigh
                         printf("REJECT: ht.%d (%c) matched.%d vs num.%d\n",height,opcode,matched,num);
                         return(-1);
                     }
-                } else printf("accept paxdeposit\n");
+                }
             }
             else
             {
index 429d4b6d18041b23e484c2538c44884bd65bc3b1..74e72aad633db53bb9042b19f2005ab5c912a6f7 100644 (file)
@@ -620,7 +620,7 @@ void static BitcoinMiner(CWallet *pwallet)
                 //static uint32_t counter;
                 //if ( counter++ < 100 )
                     fprintf(stderr,"created illegal block, retry\n");
-                continue;
+                //continue;
             }
             unique_ptr<CBlockTemplate> pblocktemplate(ptr);
             if (!pblocktemplate.get())
This page took 0.030566 seconds and 4 git commands to generate.