|
@ -735,7 +735,7 @@ int32_t iguana_bundleready(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
//#ifndef __PNACL__
|
|
|
#ifndef __PNACL__ |
|
|
int32_t checki,hdrsi; FILE *fp; |
|
|
int32_t checki,hdrsi; FILE *fp; |
|
|
fname[0] = 0; |
|
|
fname[0] = 0; |
|
|
checki = iguana_peerfname(coin,&hdrsi,GLOBAL_TMPDIR,fname,0,block->RO.hash2,zero,1,0); |
|
|
checki = iguana_peerfname(coin,&hdrsi,GLOBAL_TMPDIR,fname,0,block->RO.hash2,zero,1,0); |
|
@ -750,7 +750,7 @@ int32_t iguana_bundleready(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
fclose(fp); |
|
|
fclose(fp); |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
//#endif
|
|
|
#endif |
|
|
iguana_blockunmark(coin,block,bp,i,1); |
|
|
iguana_blockunmark(coin,block,bp,i,1); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -959,8 +959,8 @@ int32_t iguana_bundlefinalize(struct iguana_info *coin,struct iguana_bundle *bp, |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
printf("bundlefinalize.[%d] not ready\n",bp->hdrsi); |
|
|
//printf("bundlefinalize.[%d] not ready\n",bp->hdrsi);
|
|
|
iguana_bundleremove(coin,bp->hdrsi,1); |
|
|
//iguana_bundleremove(coin,bp->hdrsi,1);
|
|
|
} |
|
|
} |
|
|
return(0); |
|
|
return(0); |
|
|
} |
|
|
} |
|
|