Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
ffecc813fe
  1. 2
      iguana/iguana_msg.c

2
iguana/iguana_msg.c

@ -567,7 +567,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc
bloom = intvectors = srvmsg = -1; bloom = intvectors = srvmsg = -1;
if ( addr != 0 ) if ( addr != 0 )
{ {
iguana_peerblockrequest(coin,addr->blockspace,IGUANA_MAXPACKETSIZE,addr,iguana_blockhash(coin,100),0); //iguana_peerblockrequest(coin,addr->blockspace,IGUANA_MAXPACKETSIZE,addr,iguana_blockhash(coin,100),0);
addr->lastcontact = (uint32_t)time(NULL); addr->lastcontact = (uint32_t)time(NULL);
strcpy(addr->lastcommand,H->command); strcpy(addr->lastcommand,H->command);
//printf("iguana_msgparser from (%s) parse.(%s) len.%d\n",addr->ipaddr,H->command,recvlen); //printf("iguana_msgparser from (%s) parse.(%s) len.%d\n",addr->ipaddr,H->command,recvlen);

Loading…
Cancel
Save