Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
ce605b72f7
  1. 12
      iguana/main.c

12
iguana/main.c

@ -1502,14 +1502,10 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase)
void iguana_relays_init(struct supernet_info *myinfo)
{
char *str;
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.237"),GENESIS_PUBKEY)) != 0 ) //"78.47.196.146"
free(str);
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.238"),GENESIS_PUBKEY)) != 0 ) //"5.9.102.210"
free(str);
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.239"),GENESIS_PUBKEY)) != 0 )
free(str);
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.240"),GENESIS_PUBKEY)) != 0 )
static char *ipaddrs[] = { "89.248.160.237", "89.248.160.238", "89.248.160.239", "89.248.160.240", "89.248.160.241", "89.248.160.242", "89.248.160.243", "89.248.160.244" };
char *str; int32_t i;
for (i=0; i<sizeof(ipaddrs)/sizeof(*ipaddrs); i++)
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits(ipaddrs[i]),GENESIS_PUBKEY)) != 0 )
free(str);
}

Loading…
Cancel
Save