Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
eb43fa7dcd
  1. 2
      iguana/iguana_ramchain.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_ramchain.c

@ -231,7 +231,7 @@ struct iguana_txid *iguana_txidfind(struct iguana_info *coin,int32_t *heightp,st
}
for (j=0; j<bp->n; j++)
if ( (block= bp->blocks[j]) != 0 )
printf("%d ",block->RO.firsttxidind);
printf("(%d %d).%d ",block->RO.firsttxidind,block->RO.txn_count,txidind >= block->RO.firsttxidind && txidind < block->RO.firsttxidind+block->RO.txn_count);
printf(" <- firsttxidind txidind.%d not in block range\n",txidind);
} else printf("mismatched sparse entry\n");
}

2
iguana/iguana_recv.c

@ -42,7 +42,7 @@ int32_t iguana_sendblockreqPT(struct iguana_info *coin,struct iguana_peer *addr,
}
if ( addr->msgcounts.verack == 0 )
{
printf("iguana_sendblockreq %s hasn't verack'ed yet\n",addr->ipaddr);
//printf("iguana_sendblockreq (%s) hasn't verack'ed yet\n",addr->ipaddr);
return(-1);
}
lastreq2 = lastreq;

Loading…
Cancel
Save