Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
c0d761f9c9
  1. 6
      iguana/iguana_instantdex.c

6
iguana/iguana_instantdex.c

@ -898,11 +898,15 @@ int32_t instantdex_quotep2p(struct supernet_info *myinfo,struct iguana_info *coi
{
ap = calloc(1,sizeof(*ap));
*ap = A;
SETBIT(ap->peerhas,addr->addrind);
queue_enqueue("acceptableQ",&exchange->acceptableQ,&ap->DL,0);
}
}
else printf("instantdex_quote: got %llu which was already there\n",(long long)encodedhash.txid);
else
{
printf("instantdex_quote: got %llu which was already there (%p %p)\n",(long long)encodedhash.txid,ap,addr);
SETBIT(ap->peerhas,addr->addrind);
}
} else printf("instantdex_quote: checklen.%d != recvlen.%d\n",checklen,recvlen);
return(checklen);
}

Loading…
Cancel
Save