Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
c7b7d9d495
  1. 2
      iguana/iguana_chains.c
  2. 7
      iguana/iguana_ramchain.c
  3. BIN
      iguana/pnacl/Release/iguana.pexe

2
iguana/iguana_chains.c

@ -385,7 +385,7 @@ struct iguana_chain *iguana_chainfind(char *name,cJSON *argjson,int32_t createfl
{
struct iguana_chain *chain; uint32_t i;
#ifdef __PNACL__
if ( strcmp("BTCD",name) != 0 )
if ( strcmp("bitcoin",name) == 0 )
return(0);
#endif
for (i=0; i<sizeof(Chains)/sizeof(*Chains); i++)

7
iguana/iguana_ramchain.c

@ -2156,11 +2156,10 @@ int32_t iguana_ramchain_expandedsave(struct iguana_info *coin,RAMCHAIN_FUNC,stru
retval = 0;
}
}
int32_t i; char buf[512];
buf[0] = 0;
int32_t i;
for (i=0; i<IGUANA_NUMLHASHES; i++)
sprintf(buf+strlen(buf),"%08x ",mapchain->H.data->lhashes[i].uints[0]);
sprintf("%s %x ht.%d bundlehashes.%s\n",buf,(uint32_t)mapchain->H.data->sha256.txid,mapchain->height,coin->symbol);
printf("%08x ",mapchain->H.data->lhashes[i].uints[0]);
printf("%x ht.%d bundlehashes.%s\n",(uint32_t)mapchain->H.data->sha256.txid,mapchain->height,coin->symbol);
iguana_ramchain_free(coin,mapchain,cmpflag);
}
iguana_mempurge(hashmem);

BIN
iguana/pnacl/Release/iguana.pexe

Binary file not shown.
Loading…
Cancel
Save