Browse Source

test

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

14
iguana/main.c

@ -1502,15 +1502,11 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase)
void iguana_relays_init(struct supernet_info *myinfo) void iguana_relays_init(struct supernet_info *myinfo)
{ {
char *str; 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" };
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.237"),GENESIS_PUBKEY)) != 0 ) //"78.47.196.146" char *str; int32_t i;
free(str); for (i=0; i<sizeof(ipaddrs)/sizeof(*ipaddrs); i++)
if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits("89.248.160.238"),GENESIS_PUBKEY)) != 0 ) //"5.9.102.210" if ( (str= basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits(ipaddrs[i]),GENESIS_PUBKEY)) != 0 )
free(str); 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 )
free(str);
} }
void iguana_main(void *arg) void iguana_main(void *arg)

Loading…
Cancel
Save