Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
34fad187a8
  1. 2
      iguana/iguana_realtime.c
  2. 2
      iguana/iguana_spendvectors.c

2
iguana/iguana_realtime.c

@ -270,7 +270,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
}
}
}
char str[65]; printf("check longest.%d RTheight.%d hwm.%d %s %p\n",coin->longestchain,coin->RTheight,coin->blocks.hwmchain.height,bits256_str(str,bp->hashes[0]),block);
//char str[65]; printf("check longest.%d RTheight.%d hwm.%d %s %p\n",coin->longestchain,coin->RTheight,coin->blocks.hwmchain.height,bits256_str(str,bp->hashes[0]),block);
if ( bits256_cmp(coin->RThash1,bp->hashes[1]) != 0 )
coin->RThash1 = bp->hashes[1];
//bp->lastRT = (uint32_t)time(NULL);

2
iguana/iguana_spendvectors.c

@ -745,7 +745,7 @@ void iguana_initfinal(struct iguana_info *coin,bits256 lastbundle)
printf("i.%d bundlescount.%d\n",i,coin->bundlescount);
//if ( coin->balanceswritten > 1 )
coin->balanceswritten = iguana_volatilesinit(coin);
if ( coin->balanceswritten > 1 )
//if ( coin->balanceswritten > 1 )
{
for (i=0; i<coin->balanceswritten; i++)
{

Loading…
Cancel
Save