Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
520c24f20c
  1. 2
      iguana/iguana_blocks.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_blocks.c

@ -630,7 +630,7 @@ struct iguana_block *_iguana_chainlink(struct supernet_info *myinfo,struct iguan
} }
} }
bp = iguana_bundlecreate(coin,&bundlei,block->height,block->RO.hash2,zero,0); bp = iguana_bundlecreate(coin,&bundlei,block->height,block->RO.hash2,zero,0);
if ( bp != 0 && bp->hdrsi == coin->bundlescount-1 ) //if ( bp != 0 && bp->hdrsi == coin->bundlescount-1 )
{ {
//printf("created last bundle ht.%d\n",bp->bundleheight); //printf("created last bundle ht.%d\n",bp->bundleheight);
iguana_blockreq(coin,block->height,1); iguana_blockreq(coin,block->height,1);

2
iguana/iguana_recv.c

@ -650,7 +650,7 @@ uint32_t iguana_allhashcmp(struct supernet_info *myinfo,struct iguana_info *coin
block->hh.prev = prev; block->hh.prev = prev;
} }
//if ( bp->hdrsi < coin->MAXBUNDLES ) //if ( bp->hdrsi < coin->MAXBUNDLES )
iguana_blockQ("allhashes",coin,bp,i,blockhashes[i],1); // iguana_blockQ("allhashes",coin,bp,i,blockhashes[i],1);
} else printf("no allhashes block.%p or mismatch.%p\n",block,bp->blocks[i]); } else printf("no allhashes block.%p or mismatch.%p\n",block,bp->blocks[i]);
prev = block; prev = block;
} }

Loading…
Cancel
Save