From 2f47a54bfef004b0713df3e0a1a1dc44140b6066 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jan 2017 12:05:15 +0200 Subject: [PATCH] test --- iguana/iguana777.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index e803c9a79..947ff0515 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -903,7 +903,7 @@ void iguana_coinloop(void *arg) if ( coin->notarychain >= 0 && myinfo->IAMNOTARY != 0 ) init_alladdresses(myinfo,coin); } - if ( coin->FULLNODE < 0 || coin->notarychain >= 0 )//(coin->notarychain >= 0 && coin->FULLNODE == 0) ) + if ( coin->FULLNODE < 0 )//|| (coin->notarychain >= 0 && coin->FULLNODE == 0) ) { continue; } @@ -960,7 +960,7 @@ void iguana_coinloop(void *arg) } now = (uint32_t)time(NULL); coin->idletime = 0; - if ( coin->started != 0 && coin->active != 0 ) + if ( coin->started != 0 && coin->active != 0 && (coin->notarychain < 0 || coin->FULLNODE == 0) ) { //printf("%s numranked.%d isRT.%d numsaved.%d M.%d L.%d numverified.%d hdrsi.%d\n",coin->symbol,coin->peers->numranked,coin->isRT,coin->numsaved,coin->blocks.hwmchain.height,coin->longestchain,coin->numverified,coin->current!=0?coin->current->hdrsi:-1); if ( coin->peers->numranked > 4 && coin->isRT == 0 && now > coin->startutc+77 && coin->numsaved >= (coin->longestchain/coin->chain->bundlesize)*coin->chain->bundlesize && coin->blocks.hwmchain.height >= coin->longestchain-30 ) @@ -1211,7 +1211,7 @@ int32_t iguana_launchcoin(struct supernet_info *myinfo,char *symbol,cJSON *json, coins = mycalloc('A',1+1,sizeof(*coins)); if ( (coin= iguana_setcoin(symbol,coins,maxpeers,maxrecvcache,services,initialheight,maphash,minconfirms,maxrequests,maxbundles,json,virtcoin)) != 0 ) { - if ( iguana_isnotarychain(coin->symbol) < 0 )//|| coin->FULLNODE != 0 ) + if ( iguana_isnotarychain(coin->symbol) < 0 || coin->FULLNODE >= 0 ) { coins[0] = (void *)((long)1); coins[1] = coin;