Browse Source

Test

etomic
jl777 8 years ago
parent
commit
06b115b836
  1. 2
      crypto777/bitcoind_RPC.c
  2. 3
      iguana/kmd_lookup.h

2
crypto777/bitcoind_RPC.c

@ -140,7 +140,7 @@ char *bitcoind_RPC(char **retstrp,char *debugstr,char *url,char *userpass,char *
else specialcase = 0;
if ( url[0] == 0 )
strcpy(url,"http://127.0.0.1:7776");
if ( specialcase != 0 && (0) )
//if ( specialcase != 0 && (0) )
printf("<<<<<<<<<<< bitcoind_RPC: debug.(%s) url.(%s) command.(%s) params.(%s)\n",debugstr,url,command,params);
try_again:
if ( retstrp != 0 )

3
iguana/kmd_lookup.h

@ -203,7 +203,7 @@ FILE *kmd_txidinit(struct iguana_info *coin)
{
if ( (tx= kmd_transactionalloc(T.txid,T.height,T.timestamp,T.numvouts,T.numvins)) != 0 )
{
//printf("INIT %s.[%d] vins.[%d] ht.%d %u\n",bits256_str(str,T.txid),T.numvouts,T.numvins,T.height,T.timestamp);
printf("INIT %s.[%d] vins.[%d] ht.%d %u\n",bits256_str(str,T.txid),T.numvouts,T.numvins,T.height,T.timestamp);
if ( (ptr= kmd_transactionadd(coin,tx,T.numvouts,T.numvins)) != 0 )
{
if ( ptr != kmd_transaction(coin,tx->txid) )
@ -748,6 +748,7 @@ void kmd_bitcoinscan()
{
//if ( strcmp("KMD",coin->symbol) == 0 )
_kmd_bitcoinscan(coin);
usleep(100000);
}
}
}

Loading…
Cancel
Save