Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
7e5145d190
  1. 2
      iguana/iguana_recv.c
  2. 2
      iguana/iguana_tx.c

2
iguana/iguana_recv.c

@ -124,7 +124,7 @@ int32_t iguana_sendblockreqPT(struct iguana_info *coin,struct iguana_peer *addr,
}
if ( block != 0 )
block->issued = addr->pendtime;
//if ( 0 && coin->RTheight > 0 )//&& coin->current == bp )
if ( 0 && coin->RTheight > 0 )//&& coin->current == bp )
printf("REQ.(%s) [%d:%d] %s n.%d\n",bits256_str(hexstr,hash2),bundlei,bp!=0?bp->hdrsi:-1,addr->ipaddr,addr->pendblocks);
} else printf("MSG_BLOCK null datalen.%d\n",len);
return(len);

2
iguana/iguana_tx.c

@ -129,7 +129,7 @@ int32_t iguana_voutset(struct iguana_info *coin,uint8_t *scriptspace,char *asmst
u = &U[unspentind];
if ( u->txidind != tx->txidind || u->vout != i || u->hdrsi != height / coin->chain->bundlesize )
{
printf("%s.[%d].%d iguana_voutset: txidind mismatch t%d u%u || %d vs %d || (%d vs %d)\n",coin->symbol,height/coin->chain->bundlesize,u->hdrsi,u->txidind,unspentind,u->vout,i,u->hdrsi,height / coin->chain->bundlesize);
printf("%s.[%d].%d iguana_voutset: txidind mismatch t%d:%d u%u || %d vs %d || (%d vs %d)\n",coin->symbol,height/coin->chain->bundlesize,u->hdrsi,tx->txidind,u->txidind,unspentind,u->vout,i,u->hdrsi,height / coin->chain->bundlesize);
return(-1);
}
vout->value = u->value;

Loading…
Cancel
Save