Browse Source

test

etomic
jl777 8 years ago
parent
commit
8915eecebd
  1. 5
      iguana/iguana777.c
  2. 2
      iguana/main.c

5
iguana/iguana777.c

@ -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);
}

2
iguana/main.c

@ -1667,8 +1667,6 @@ void iguana_main(void *arg)
else
{
basilisks_init(myinfo);
myinfo->numnotaries = komodo_notaries("KMD",myinfo->notaries,-1);
printf("INIT with %d notaries\n",myinfo->numnotaries);
}
if ( 0 )
{

Loading…
Cancel
Save