Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6943ed1afb
  1. 2
      iguana/iguana_recv.c

2
iguana/iguana_recv.c

@ -195,7 +195,7 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i
void iguana_gottxidsM(struct iguana_info *coin,struct iguana_peer *addr,bits256 *txids,int32_t n) void iguana_gottxidsM(struct iguana_info *coin,struct iguana_peer *addr,bits256 *txids,int32_t n)
{ {
struct iguana_bundlereq *req; struct iguana_bundlereq *req;
printf("got %d txids from %s\n",n,addr->ipaddr); //printf("got %d txids from %s\n",n,addr->ipaddr);
req = iguana_bundlereq(coin,addr,'T',0); req = iguana_bundlereq(coin,addr,'T',0);
req->hashes = txids, req->n = n; req->hashes = txids, req->n = n;
queue_enqueue("bundlesQ",&coin->bundlesQ,&req->DL,0); queue_enqueue("bundlesQ",&coin->bundlesQ,&req->DL,0);

Loading…
Cancel
Save