From 6ecfd2186ffd8ac32a46a655fa028b686cec4c73 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 17 Apr 2016 17:54:54 -0500 Subject: [PATCH] test --- iguana/iguana777.c | 10 +++++----- iguana/iguana_bundles.c | 4 ++-- iguana/main.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 06f84f31e..b1398ae2a 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -392,6 +392,11 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert } else printf("UTXO gen.[%d] utxo error\n",bp->hdrsi); } } + while ( (n= iguana_utxofinished(coin)) < max ) + { + //printf("helperid.%d utxofinished.%d vs %d\n",helperid,n,max); + sleep(3); + } for (hdrsi=helperid; hdrsibundles[hdrsi]) == 0 ) @@ -402,11 +407,6 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert exit(-1); } } - while ( (n= iguana_utxofinished(coin)) < max ) - { - //printf("helperid.%d utxofinished.%d vs %d\n",helperid,n,max); - sleep(3); - } if ( convertflag == 0 ) { for (hdrsi=helperid; hdrsiRO.hash2,zero,1,0); @@ -750,7 +750,7 @@ int32_t iguana_bundleready(struct iguana_info *coin,struct iguana_bundle *bp,int fclose(fp); } else -#endif +//#endif { iguana_blockunmark(coin,block,bp,i,1); if ( requiredflag != 0 ) diff --git a/iguana/main.c b/iguana/main.c index d873408fa..1bf3e82ad 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -68,7 +68,7 @@ int32_t HDRnet,netBLOCKS; cJSON *API_json; #ifdef __PNACL__ -char GLOBAL_TMPDIR[512] = "/DB/tmp"; +char GLOBAL_TMPDIR[512] = "/tmp"; char GLOBAL_DBDIR[512] = "/DB"; char GLOBAL_HELPDIR[512] = "/DB/help"; char GLOBAL_VALIDATEDIR[512] = "/DB/purgeable";