From 8aac99604d4a98bdd50d43d5c5ecb26d2b0827c3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 28 Jun 2016 12:39:50 -0300 Subject: [PATCH] test --- basilisk/basilisk_ping.c | 2 +- iguana/iguana_realtime.c | 2 +- iguana/iguana_recv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basilisk/basilisk_ping.c b/basilisk/basilisk_ping.c index cf4ee09de..a89e0a98b 100755 --- a/basilisk/basilisk_ping.c +++ b/basilisk/basilisk_ping.c @@ -175,7 +175,7 @@ void basilisk_ping_process(struct supernet_info *myinfo,struct iguana_peer *addr len += basilisk_ping_processDEX(myinfo,senderipbits,&data[len],datalen-len); if ( len != datalen ) printf("PING got %d, processed.%d from (%s)\n",datalen,len,ipbuf); - else printf("\n"); + //else printf("\n"); //for (i=0; iRThash1,bp->hashes[1]) != 0 ) coin->RThash1 = bp->hashes[1]; bp->lastRT = (uint32_t)time(NULL); - if ( coin->peers != 0 && coin->RTheight <= coin->longestchain-offset && coin->peers->numranked > 0 && time(NULL) > coin->RThdrstime+60 ) + if ( coin->peers != 0 && coin->RTheight <= coin->longestchain-offset && coin->peers->numranked > 0 && time(NULL) > coin->RThdrstime+6 ) { iguana_RThdrs(coin,bp,coin->peers->numranked); coin->RThdrstime = bp->lastRT; diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index a16b3b286..b3d4da745 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -373,7 +373,7 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i //iguana_blast(coin,addr); } } - copyflag = (coin->enableCACHE != 0) && (strcmp(coin->symbol,"BTC") != 0); + copyflag = 0;//(coin->enableCACHE != 0) && (strcmp(coin->symbol,"BTC") != 0); bp = 0, bundlei = -2; bp = iguana_bundlefind(coin,&bp,&bundlei,origtxdata->zblock.RO.hash2); if ( bp != 0 && bundlei >= 0 && bundlei < bp->n )