Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
47b9d3bdf3
  1. 2
      iguana/btcd
  2. 4
      iguana/iguana_bundles.c

2
iguana/btcd

@ -1 +1 @@
curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":100,\"endpend\":100,\"services\":129,\"maxpeers\":256}"
curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":10,\"endpend\":10,\"services\":129,\"maxpeers\":256}"

4
iguana/iguana_bundles.c

@ -774,7 +774,7 @@ int32_t iguana_bundleready(struct iguana_info *coin,struct iguana_bundle *bp,int
{
if ( requiredflag != 0 )
printf(">>>>>>> block contents error at ht.%d [%d:%d]\n",bp->bundleheight+i,bp->hdrsi,i);
//char str[65]; patch.(%s) and reissue %s checki.%d vs %d\n",block->fpipbits,bp->bundleheight+i,bits256_str(str,block->RO.prev_block),fname,checki,i);
char str[65]; printf("patch.%d and reissue %s %d\n",bp->bundleheight+i,bits256_str(str,block->RO.prev_block),i);
iguana_blockunmark(coin,block,bp,i,1);
}
else
@ -793,7 +793,7 @@ int32_t iguana_bundleready(struct iguana_info *coin,struct iguana_bundle *bp,int
}
fclose(fp);
}
else
else if ( 0 )
//#endif
{
iguana_blockunmark(coin,block,bp,i,1);

Loading…
Cancel
Save