Browse Source

test

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

2
iguana/iguana_msg.c

@ -312,7 +312,7 @@ void iguana_gotversion(struct supernet_info *myinfo,struct iguana_info *coin,str
{ {
uint8_t serialized[sizeof(struct iguana_msghdr)]; char *retstr; uint8_t serialized[sizeof(struct iguana_msghdr)]; char *retstr;
//printf("gotversion from %s: starting height.%d services.%llx proto.%d (%s)\n",addr->ipaddr,vers->nStartingHeight,(long long)vers->nServices,vers->nVersion,vers->strSubVer); //printf("gotversion from %s: starting height.%d services.%llx proto.%d (%s)\n",addr->ipaddr,vers->nStartingHeight,(long long)vers->nServices,vers->nVersion,vers->strSubVer);
if ( strncmp(vers->strSubVer,"/iguana",strlen("/iguana")) == 0 ) if ( 0 && strncmp(vers->strSubVer,"/iguana",strlen("/iguana")) == 0 )
{ {
addr->supernet = 1, addr->basilisk = 0; addr->supernet = 1, addr->basilisk = 0;
if ( (retstr= basilisk_addrelay_info(myinfo,0,(uint32_t)addr->ipbits,GENESIS_PUBKEY)) != 0 ) if ( (retstr= basilisk_addrelay_info(myinfo,0,(uint32_t)addr->ipbits,GENESIS_PUBKEY)) != 0 )

Loading…
Cancel
Save