diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index b35f584ac..43a87d709 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -1142,7 +1142,8 @@ int32_t iguana_bundlevalidate(struct supernet_info *myinfo,struct iguana_info *c if ( (len= iguana_peerblockrequest(myinfo,coin,blockspace,max,0,bp->hashes[i],1)) < 0 ) { errs++; - printf("bundlevalidate: %s delete [%d:%d]\n",coin->symbol,bp->hdrsi,i); + fprintf(stderr,"-%s.[%d:%d] ",coin->symbol,bp->hdrsi,i); + //printf("bundlevalidate: %s delete [%d:%d]\n",coin->symbol,bp->hdrsi,i); iguana_blockunmark(coin,bp->blocks[i],bp,i,1); totalerrs++; } @@ -1153,7 +1154,7 @@ int32_t iguana_bundlevalidate(struct supernet_info *myinfo,struct iguana_info *c } } free(blockspace); - printf("%s VALIDATED.[%d] ht.%d duration.%d errs.%d total.%lld %u | total errs.%d validated.%d %llx\n",coin->symbol,bp->hdrsi,bp->bundleheight,(uint32_t)time(NULL) - now,errs,(long long)total,bp->validated,totalerrs,totalvalidated,(long long)validatehash.txid); + printf("%s %s VALIDATED.[%d] ht.%d duration.%d errs.%d total.%lld %u | total errs.%d validated.%d %llx\n",coin->symbol,errs!=0?"NOT":"",bp->hdrsi,bp->bundleheight,(uint32_t)time(NULL) - now,errs,(long long)total,bp->validated,totalerrs,totalvalidated,(long long)validatehash.txid); if ( totalerrs == 0 ) bp->validated = (uint32_t)time(NULL); else bp->startutxo = bp->utxofinish = 0; diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index 44fa3cd2e..c19064a67 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -343,7 +343,13 @@ int32_t iguana_peerblockrequest(struct supernet_info *myinfo,struct iguana_info } } else printf("iguana_peerblockrequest: %s error merkle cmp tx.[%d] for ht.%d\n",coin->symbol,i,bp->bundleheight+bundlei); } else printf("iguana_peerblockrequest: error merkle verify tx.[%d] for ht.%d\n",i,bp->bundleheight+bundlei); - } else printf("%s iguana_peerblockrequest: error getting tx.[%d] for ht.%d block.%p main.%d ht.%d\n",coin->symbol,i,bp->bundleheight+bundlei,block,block!=0?block->mainchain:-1,block!=0?block->height:-1); + } + else + { + static uint32_t counter; + if ( counter++ < 10 ) + printf("%s iguana_peerblockrequest: error getting tx.[%d] for ht.%d block.%p main.%d ht.%d\n",coin->symbol,i,bp->bundleheight+bundlei,block,block!=0?block->mainchain:-1,block!=0?block->height:-1); + } } else {