Browse Source

Test

etomic
jl777 8 years ago
parent
commit
3f1ddbd43b
  1. 6
      iguana/exchanges/stats.c

6
iguana/exchanges/stats.c

@ -92,9 +92,9 @@ void komodo_kvupdate(int32_t ht,bits256 txid,int32_t vout,uint8_t *opretbuf,int3
for (i=0; i<keylen; i++) for (i=0; i<keylen; i++)
putchar((char)key[i]); putchar((char)key[i]);
printf(" -> "); printf(" -> ");
for (i=0; i<coresize; i++) //for (i=0; i<coresize; i++)
printf("%c",(char)valueptr[i]); // printf("%c",(char)valueptr[i]);
decode_hex(decodestr,coresize,valueptr); init_hexbytes_noT(decodestr,valueptr,coresize);
char str[65]; printf(" (%s) [%d] %s/v%d ht.%d height.%d\n",(char *)valueptr,valuesize,bits256_str(str,txid),vout,ht,height); char str[65]; printf(" (%s) [%d] %s/v%d ht.%d height.%d\n",(char *)valueptr,valuesize,bits256_str(str,txid),vout,ht,height);
} }
} }

Loading…
Cancel
Save