|
|
@ -70,24 +70,20 @@ NN_CONNECT to (tcp://197.189.248.210:7775) |
|
|
|
NN_CONNECT to (tcp://149.56.19.212:7775)
|
|
|
|
NN_CONNECT to (tcp://46.165.243.214:7775)
|
|
|
|
NN_CONNECT to (tcp://45.64.168.216:7775)
|
|
|
|
NN_CONNECT to (tcp://94.102.63.217:7775)
|
|
|
|
NN_CONNECT to (tcp://192.99.233.217:7775)
|
|
|
|
NN_CONNECT to (tcp://27.50.68.219:7775)
|
|
|
|
NN_CONNECT to (tcp://167.114.227.223:7775)
|
|
|
|
NN_CONNECT to (tcp://94.102.63.227:7775)
|
|
|
|
NN_CONNECT to (tcp://176.9.0.233:7775)
|
|
|
|
NN_CONNECT to (tcp://27.50.93.252:7775)*/
|
|
|
|
*/ |
|
|
|
|
|
|
|
void dex_init(struct supernet_info *myinfo) |
|
|
|
{ |
|
|
|
int32_t i,j,mask = 0; char *seeds[] = { "78.47.196.146", "5.9.102.210", "149.56.29.163", "191.235.80.138", "88.198.65.74", "94.102.63.226", "129.232.225.202", "104.255.64.3", "52.72.135.200", "149.56.28.84", "103.18.58.150", "221.121.144.140", "123.249.79.12", "103.18.58.146" }; |
|
|
|
int32_t i,j,mask = 0; char *seeds[] = { "78.47.196.146", "5.9.102.210", "149.56.29.163", "191.235.80.138", "88.198.65.74", "94.102.63.226", "129.232.225.202", "104.255.64.3", "52.72.135.200", "149.56.28.84", "103.18.58.150", "221.121.144.140", "123.249.79.12", "103.18.58.146", "27.50.93.252", "176.9.0.233", "94.102.63.227", "167.114.227.223", "27.50.68.219", "192.99.233.217", "94.102.63.217", "45.64.168.216" }; |
|
|
|
OS_randombytes((void *)&i,sizeof(i)); |
|
|
|
srand(i); |
|
|
|
for (i=0; i<sizeof(myinfo->dexseed_ipaddrs)/sizeof(*myinfo->dexseed_ipaddrs); i++) |
|
|
|
{ |
|
|
|
while ( 1 ) |
|
|
|
{ |
|
|
|
j = i == 0 ? i : (rand() % (sizeof(seeds)/sizeof(*seeds))); |
|
|
|
j = (rand() % (sizeof(seeds)/sizeof(*seeds))); |
|
|
|
if ( i == 0 ) |
|
|
|
j = 0; |
|
|
|
if ( ((1 << j) & mask) == 0 ) |
|
|
|
break; |
|
|
|
} |
|
|
|