Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a427638609
  1. 2
      iguana/iguana_ramchain.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_ramchain.c

@ -2384,7 +2384,7 @@ int32_t iguana_ramchain_expandedsave(struct iguana_info *coin,RAMCHAIN_FUNC,stru
bits256 firsthash2,lasthash2; int32_t err,bundlei,hdrsi,numblocks,firsti,height,retval= -1;
struct iguana_ramchain checkR,*mapchain; char fname[1024],str[65]; FILE *fp;
uint32_t scriptspace,scriptoffset,stacksize,izero = 0; uint8_t *destoffset,*srcoffset;
if ( bp->bundleheight == 118000 )
if ( bp->bundleheight == 118000 || bp->bundleheight == 62000 )
return(0);
firsthash2 = ramchain->H.data->firsthash2, lasthash2 = ramchain->H.data->lasthash2;
height = ramchain->height, firsti = ramchain->H.data->firsti, hdrsi = ramchain->H.hdrsi, numblocks = ramchain->numblocks;

2
iguana/iguana_recv.c

@ -655,7 +655,7 @@ struct iguana_bundlereq *iguana_recvblock(struct iguana_info *coin,struct iguana
struct iguana_bundle *bp=0; int32_t bundlei = -2; struct iguana_block *block;
bp = iguana_bundleset(coin,&block,&bundlei,origblock);
static int total; char str[65];
if ( 1 && bp != 0 && bp->hdrsi == 0 )
if ( 0 && bp != 0 && bp->hdrsi == 0 )
fprintf(stderr,"RECV %s [%d:%d] block.%08x | %d\n",bits256_str(str,origblock->RO.hash2),bp!=0?bp->hdrsi:-1,bundlei,block->fpipbits,total++);
if ( bundlei == 1 && bp != 0 && bp->numhashes < bp->n )
{

Loading…
Cancel
Save