Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
90c313d89e
  1. 3
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_spendvectors.c

3
iguana/iguana_bundles.c

@ -1058,7 +1058,8 @@ int32_t iguana_bundlefinalize(struct supernet_info *myinfo,struct iguana_info *c
printf("GENESIS block validated\n");
else printf("GENESIS didnt validate bp.%p\n",bp);*/
//if ( strcmp("BTC",coin->symbol) != 0 )
coin->spendvectorsaved = 0;
coin->RTheight = coin->firstRTheight = 0;
//coin->spendvectorsaved = 0;
for (i=bp->hdrsi; i<coin->bundlescount; i++)
if ( (tmpbp= coin->bundles[i]) != 0 )
tmpbp->converted = tmpbp->balancefinish = tmpbp->validated = 0;

2
iguana/iguana_spendvectors.c

@ -722,7 +722,6 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co
iguana_blockzcopy(coin->chain->zcash,(void *)&coin->blocks.hwmchain,block);
}
}
//printf("end volatilesinit\n");
if ( iguana_fastfindinit(coin) == 0 )//&& coin->PREFETCHLAG >= 0 )
iguana_fastfindcreate(coin);
/*for (j=0; j<coin->bundlescount; j++)
@ -734,6 +733,7 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co
iguana_update_balances(coin);*/
iguana_datachain_scan(myinfo,coin,CRYPTO777_RMD160);
//iguana_utxoaddr_gen(myinfo,coin,(coin->bundlescount - 1) * coin->chain->bundlesize);*/
printf("end volatilesinit\n");
return(coin->bundlescount);
}

Loading…
Cancel
Save