Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
1897960f16
  1. 2
      iguana/iguana777.c
  2. 4
      iguana/iguana777.h
  3. 4
      iguana/iguana_bundles.c
  4. 2
      iguana/iguana_ramchain.c

2
iguana/iguana777.c

@ -342,7 +342,7 @@ int32_t iguana_helpertask(FILE *fp,struct OS_memspace *mem,struct OS_memspace *m
{
if ( iguana_bundlesaveHT(coin,mem,memB,bp,ptr->starttime) == 0 )
{
fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight);
//fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight);
bp->emitfinish = (uint32_t)time(NULL) + 1;
coin->numemitted++;
} else bp->emitfinish = 0;

4
iguana/iguana777.h

@ -38,8 +38,8 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 3
#define IGUANA_MINPENDBUNDLES 8
#define IGUANA_MAXPENDBUNDLES 32
#define IGUANA_MINPENDBUNDLES 16
#define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_BUNDLELOOP 77
#define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

4
iguana/iguana_bundles.c

@ -496,7 +496,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
}
}
}
if ( 1 && laggard != 0 )
if ( 0 && laggard != 0 )
{
for (i=0; i<numpeers; i++)
printf("%d ",peercounts[i]);
@ -752,7 +752,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct OS_memspace *mem,stru
{
if ( iguana_bundlesaveHT(coin,mem,memB,bp,(uint32_t)time(NULL)) == 0 )
{
fprintf(stderr,"emitQ coin.%p bp.[%d]\n",coin,bp->bundleheight);
//fprintf(stderr,"emitQ coin.%p bp.[%d]\n",coin,bp->bundleheight);
bp->emitfinish = (uint32_t)time(NULL) + 1;
coin->numemitted++;
} else bp->emitfinish = 0;

2
iguana/iguana_ramchain.c

@ -2443,7 +2443,7 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
}
iguana_ramchain_free(dest,0);
bp->ramchain = newchain;
printf("finished bundlesave.%d\n",bp->bundleheight);
//printf("finished bundlesave.%d\n",bp->bundleheight);
return(retval);
}

Loading…
Cancel
Save