Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
fa2f93771b
  1. 1
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_ramchain.c

1
iguana/iguana_bundles.c

@ -627,6 +627,7 @@ void iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int32_
}
} else printf("error getting block (%d:%d) %p vs %p\n",bp->hdrsi,i,block,iguana_blockfind(coin,bp->hashes[i]));
}
// merkle
printf(">>>>>>>>>>>>>>>>>>>>>>> EMIT bundle.%d\n",bp->bundleheight);
bp->emitfinish = 1;
sleep(1);

2
iguana/iguana_ramchain.c

@ -1734,7 +1734,7 @@ struct iguana_ramchain *iguana_bundleload(struct iguana_info *coin,struct iguana
bp->hashes[i] = B[i].hash2;
if ( bp->bundleheight+i == coin->blocks.hwmchain.height+1 )
{
printf("try extend.%d\n",bp->bundleheight+i);
//printf("try extend.%d\n",bp->bundleheight+i);
_iguana_chainlink(coin,block);
}
}

Loading…
Cancel
Save