Browse Source

test

etomic
jl777 8 years ago
parent
commit
a7b5645170
  1. 4
      iguana/iguana777.c
  2. 2
      iguana/iguana_unspents.c

4
iguana/iguana777.c

@ -884,7 +884,8 @@ void iguana_coinloop(void *arg)
n = (int32_t)(long)coins[0];
coins++;
coin = coins[0];
printf("begin coinloop[%d] %s\n",n,coin->symbol);
coin->notarychain = iguana_isnotarychain(coin->symbol);
printf("begin coinloop[%d] %s notarychain.%d\n",n,coin->symbol,coin->notarychain);
memset(zero.bytes,0,sizeof(zero));
while ( 1 )
{
@ -1126,6 +1127,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers,
coin->startPEND = coin->endPEND = 1;
#endif
} else coin->MAXPEERS = 0;
coin->notarychain = iguana_isnotarychain(coin->symbol);
coin->myservices = services;
coin->initialheight = initialheight;
coin->mapflags = mapflags;

2
iguana/iguana_unspents.c

@ -133,7 +133,7 @@ char *iguana_RTinputaddress(struct supernet_info *myinfo,struct iguana_info *coi
if ( coinaddr == 0 )
coinaddr = _coinaddr;
spentp->hdrsi = -1;
printf("RTinputaddress.(%s)\n",jprint(vinobj,0));
printf("%s RTinputaddress.(%s).%d %d\n",coin->symbol,jprint(vinobj,0),coin->FULLNODE,coin->notarychain);
if ( jobj(vinobj,"txid") != 0 && jobj(vinobj,"vout") != 0 )
{
txid = jbits256(vinobj,"txid");

Loading…
Cancel
Save