Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
de0002bf1b
  1. 2460
      iguana/confs/DOGE_peers.txt
  2. 2
      iguana/iguana_bundles.c
  3. 2
      iguana/iguana_init.c

2460
iguana/confs/DOGE_peers.txt

File diff suppressed because it is too large

2
iguana/iguana_bundles.c

@ -1532,7 +1532,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch
printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,queue_size(&bundlesQ),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck); printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,queue_size(&bundlesQ),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck);
strcpy(coin->lastdispstr,str); strcpy(coin->lastdispstr,str);
//if ( (rand() % 100) == 0 ) //if ( (rand() % 100) == 0 )
// myallocated(0,0); myallocated(0,0);
coin->lastdisp = (uint32_t)time(NULL); coin->lastdisp = (uint32_t)time(NULL);
} }
if ( 0 && (bp= coin->current) != 0 && coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n ) if ( 0 && (bp= coin->current) != 0 && coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n )

2
iguana/iguana_init.c

@ -286,7 +286,7 @@ void iguana_parseline(struct supernet_info *myinfo,struct iguana_info *coin,int3
//printf("parse line.(%s) maxpeers.%d\n",line,coin->MAXPEERS); //printf("parse line.(%s) maxpeers.%d\n",line,coin->MAXPEERS);
if ( iter == 0 ) if ( iter == 0 )
{ {
if ( m < 3*coin->MAXPEERS/4 && (rand() % 2) == 0 )//&& m < 77.7 ) if ( m < coin->MAXPEERS/2 )//&& m < 77.7 )
{ {
if ( 0 && m == 0 ) if ( 0 && m == 0 )
{ {

Loading…
Cancel
Save