|
@ -472,7 +472,7 @@ void iguana_parsebuf(struct iguana_info *coin,struct iguana_peer *addr,struct ig |
|
|
if ( memcmp(&checkH,H,sizeof(checkH)) == 0 ) |
|
|
if ( memcmp(&checkH,H,sizeof(checkH)) == 0 ) |
|
|
{ |
|
|
{ |
|
|
//if ( strcmp(addr->ipaddr,"127.0.0.1") == 0 )
|
|
|
//if ( strcmp(addr->ipaddr,"127.0.0.1") == 0 )
|
|
|
//printf("%s parse.(%s) len.%d\n",addr->ipaddr,H->command,len);
|
|
|
printf("%s parse.(%s) len.%d\n",addr->ipaddr,H->command,len); |
|
|
//printf("addr->dead.%u\n",addr->dead);
|
|
|
//printf("addr->dead.%u\n",addr->dead);
|
|
|
if ( strcmp(H->command,"block") == 0 || strcmp(H->command,"tx") == 0 ) |
|
|
if ( strcmp(H->command,"block") == 0 || strcmp(H->command,"tx") == 0 ) |
|
|
{ |
|
|
{ |
|
|