|
@ -829,6 +829,8 @@ void iguana_callcoinstart(struct supernet_info *myinfo,struct iguana_info *coin) |
|
|
} |
|
|
} |
|
|
sprintf(dirname,"%s/%s",GLOBAL_TMPDIR,symbol), OS_ensure_directory(dirname); |
|
|
sprintf(dirname,"%s/%s",GLOBAL_TMPDIR,symbol), OS_ensure_directory(dirname); |
|
|
sprintf(dirname,"%s/%s/RT",GLOBAL_TMPDIR,coin->symbol), OS_ensure_directory(dirname); |
|
|
sprintf(dirname,"%s/%s/RT",GLOBAL_TMPDIR,coin->symbol), OS_ensure_directory(dirname); |
|
|
|
|
|
printf("CALL MARKINIT.%s\n",coin->symbol); |
|
|
|
|
|
iguana_unspents_markinit(myinfo,coin); |
|
|
iguana_coinstart(myinfo,coin,coin->initialheight,coin->mapflags); |
|
|
iguana_coinstart(myinfo,coin,coin->initialheight,coin->mapflags); |
|
|
coin->chain->minconfirms = coin->minconfirms; |
|
|
coin->chain->minconfirms = coin->minconfirms; |
|
|
coin->started = coin; |
|
|
coin->started = coin; |
|
@ -836,8 +838,6 @@ void iguana_callcoinstart(struct supernet_info *myinfo,struct iguana_info *coin) |
|
|
memset(zero.bytes,0,sizeof(zero)); |
|
|
memset(zero.bytes,0,sizeof(zero)); |
|
|
if ( (bp= iguana_bundlecreate(coin,&bundlei,0,*(bits256 *)coin->chain->genesis_hashdata,zero,1)) != 0 ) |
|
|
if ( (bp= iguana_bundlecreate(coin,&bundlei,0,*(bits256 *)coin->chain->genesis_hashdata,zero,1)) != 0 ) |
|
|
bp->bundleheight = 0; |
|
|
bp->bundleheight = 0; |
|
|
printf("CALL MARKINIT\n"); |
|
|
|
|
|
iguana_unspents_markinit(myinfo,coin); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void iguana_coinloop(void *arg) |
|
|
void iguana_coinloop(void *arg) |
|
|