From 09b4efdaabb42b38d76d4171d0fbcb4224ac00c0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 14 Aug 2016 16:03:28 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 1 + iguana/iguana_unspents.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 8794e0ad2..1ef420888 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -434,6 +434,7 @@ void iguana_update_balances(struct iguana_info *coin) OS_removefile(fname,0); iguana_volatilesalloc(coin,&bp->ramchain,0);//i < hdrsi); } + sleep(3); for (hdrsi=0; hdrsibundles[hdrsi]) != 0 ) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 345e01c03..5e1f6626c 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -431,7 +431,7 @@ int64_t iguana_pkhashbalance(struct supernet_info *myinfo,struct iguana_info *co } if ( p->pkind != U[unspentind].pkind ) printf("warning: [%d] p->pkind.%u vs U->pkind.%u for u%d\n",hdrsi,p->pkind,U[unspentind].pkind,unspentind); - } else printf("skip uheight.%d lastheight.%d\n",uheight,lastheight); + } // else printf("skip uheight.%d lastheight.%d\n",uheight,lastheight); pkind = p->pkind; unspentind = U[unspentind].prevunspentind; } @@ -1166,7 +1166,7 @@ int64_t iguana_utxoaddr_gen(struct supernet_info *myinfo,struct iguana_info *coi sprintf(fname2,"%s/%s/utxoaddrs.%d",GLOBAL_DBDIR,coin->symbol,height), OS_portable_path(fname2); if ( iguana_utxoaddr_map(coin,fname2) != 0 ) { - errs = iguana_utxoaddr_validate(myinfo,coin,height); + errs = 0;//iguana_utxoaddr_validate(myinfo,coin,height); printf("HIST BALANCE %.8f errs %d\n",dstr(coin->histbalance),errs); if ( coin->histbalance > 0 ) return(coin->histbalance);