Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
8441295678
  1. 2
      iguana/iguana_init.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_init.c

@ -276,7 +276,7 @@ void iguana_parseline(struct iguana_info *coin,int32_t iter,FILE *fp)
//if ( bp->hdrsi == 0 || coin->bundles[bp->hdrsi-1]->emitfinish != 0 )
{
//bp->startutxo = (uint32_t)time(NULL);
printf("GENERATE UTXO, verify sigs, etc for ht.%d\n",bp->bundleheight);
//printf("GENERATE UTXO, verify sigs, etc for ht.%d\n",bp->bundleheight);
iguana_bundleQ(coin,bp,1000);
}
}

2
iguana/iguana_recv.c

@ -1339,7 +1339,7 @@ int32_t iguana_reqblocks(struct iguana_info *coin)
next = 0;
}
}
else if ( bits256_nonz(bp->hashes[bundlei]) != 0 )
else if ( bp != 0 && bits256_nonz(bp->hashes[bundlei]) != 0 )
iguana_blockQ(coin,bp,bundlei,bp->hashes[bundlei],0);
if ( next != 0 )
{

Loading…
Cancel
Save