From 47b9d3bdf33ef4422fd624436e85619a8c026f9c Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 11 May 2016 11:40:29 -0500 Subject: [PATCH] test --- iguana/btcd | 2 +- iguana/iguana_bundles.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/btcd b/iguana/btcd index a50bbc8dc..4be902f21 100755 --- a/iguana/btcd +++ b/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}" diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 56833ac88..8e9d8036b 100755 --- a/iguana/iguana_bundles.c +++ b/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);