From 5c5df88dfc1a5fb34693a4f72a86d1103d78076a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Mar 2016 17:58:17 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 4 ++-- iguana/iguana_recv.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 9de0823a3..a2c2f48c1 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -374,14 +374,14 @@ void iguana_coinloop(void *arg) coin->chain->minconfirms = coin->minconfirms; } } + printf("after init loop\n"), getchar(); coin = coins[0]; iguana_rwiAddrind(coin,0,0,0); iguana_possible_peer(coin,"127.0.0.1"); - //while ( 1 ) sleep(1); - memset(zero.bytes,0,sizeof(zero)); if ( (bp= iguana_bundlecreate(coin,&bundlei,0,*(bits256 *)coin->chain->genesis_hashdata,zero,1)) != 0 ) bp->bundleheight = 0; + printf("after bundlecreate\n"), getchar(); while ( 1 ) { //printf("iter\n"); diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index ec8d19ff6..d4719bcda 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -902,7 +902,7 @@ int32_t iguana_reqblocks(struct iguana_info *coin) } else if ( bp->speculative != 0 && bits256_nonz(bp->speculative[bundlei]) > 0 ) { - printf("speculative next %d\n",coin->blocks.hwmchain.height+1); + //printf("speculative next %d\n",coin->blocks.hwmchain.height+1); iguana_blockQ(coin,0,-1,bp->speculative[bundlei],0); } }