|
@ -340,6 +340,7 @@ struct iguana_bundle *iguana_bundlecreate(struct iguana_info *coin,int32_t *bund |
|
|
*bundleip = 0; |
|
|
*bundleip = 0; |
|
|
bits256_str(str,bundlehash2); |
|
|
bits256_str(str,bundlehash2); |
|
|
sprintf(dirname,"%s/%s/%d",GLOBALTMPDIR,coin->symbol,bp->bundleheight), OS_ensure_directory(dirname); |
|
|
sprintf(dirname,"%s/%s/%d",GLOBALTMPDIR,coin->symbol,bp->bundleheight), OS_ensure_directory(dirname); |
|
|
|
|
|
sprintf(dirname,"DB/%s/%d",coin->symbol,bp->bundleheight), OS_ensure_directory(dirname); |
|
|
//printf("ht.%d alloc.[%d] new hdrs.%s %s\n",bp->bundleheight,coin->bundlescount,str,bits256_str(str2,allhash));
|
|
|
//printf("ht.%d alloc.[%d] new hdrs.%s %s\n",bp->bundleheight,coin->bundlescount,str,bits256_str(str2,allhash));
|
|
|
iguana_bundlehash2add(coin,0,bp,0,bundlehash2); |
|
|
iguana_bundlehash2add(coin,0,bp,0,bundlehash2); |
|
|
if ( issueflag != 0 ) |
|
|
if ( issueflag != 0 ) |
|
|