|
|
@ -875,6 +875,11 @@ void iguana_callcoinstart(struct supernet_info *myinfo,struct iguana_info *coin) |
|
|
|
coin->notarychain = -1; |
|
|
|
addr = &coin->peers->active[IGUANA_MAXPEERS-2]; |
|
|
|
iguana_initpeer(coin,addr,(uint32_t)calc_ipbits(coin->seedipaddr)); |
|
|
|
if ( strcmp(coin->symbol,"KMD") == 0 && myinfo->IAMNOTARY != 0 ) |
|
|
|
{ |
|
|
|
myinfo->numnotaries = komodo_notaries("KMD",myinfo->notaries,-1); |
|
|
|
printf("INIT with %d notaries\n",myinfo->numnotaries); |
|
|
|
} |
|
|
|
printf("SEED_IPADDR initpeer.(%s) notarychain.%d\n",addr->ipaddr,coin->notarychain); |
|
|
|
iguana_launch(coin,"connection",iguana_startconnection,addr,IGUANA_CONNTHREAD); |
|
|
|
} |
|
|
|