|
|
@ -71,11 +71,11 @@ cJSON *dpow_getinfo(struct supernet_info *myinfo,struct iguana_info *coin) |
|
|
|
return(json); |
|
|
|
} |
|
|
|
|
|
|
|
char *Notaries_elected[64][2]; |
|
|
|
char *Notaries_elected[65][2]; |
|
|
|
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" }; |
|
|
|
int32_t Notaries_numseeds = (int32_t)(sizeof(seeds)/sizeof(*seeds)),Notaries_num,Notaries_BTCminsigs = DPOW_MINSIGS,Notaries_minsigs = DPOW_MIN_ASSETCHAIN_SIGS; |
|
|
|
uint16_t Notaries_port = DPOW_SOCKPORT; |
|
|
|
char *Notaries_seeds[64]; |
|
|
|
char *Notaries_seeds[65]; |
|
|
|
|
|
|
|
int32_t komodo_initjson(char *fname) |
|
|
|
{ |
|
|
@ -94,7 +94,7 @@ int32_t komodo_initjson(char *fname) |
|
|
|
Notaries_minsigs = num; |
|
|
|
if ( (array= jarray(&n,argjson,"seeds")) != 0 && n <= 64 ) |
|
|
|
{ |
|
|
|
for (i=0; i<n; i++) |
|
|
|
for (i=0; i<n&&i<64; i++) |
|
|
|
{ |
|
|
|
Notaries_seeds[i] = clonestr(jstri(array,i)); |
|
|
|
printf("%s ",Notaries_seeds[i]); |
|
|
@ -103,7 +103,7 @@ int32_t komodo_initjson(char *fname) |
|
|
|
} |
|
|
|
if ( (array= jarray(&n,argjson,"notaries")) != 0 && n <= 64 ) |
|
|
|
{ |
|
|
|
for (i=0; i<n; i++) |
|
|
|
for (i=0; i<n&&i<64; i++) |
|
|
|
{ |
|
|
|
item = jitem(array,i); |
|
|
|
field = jfieldname(item); |
|
|
|