Browse Source

test

etomic
jl777 8 years ago
parent
commit
d357a85c8f
  1. 3
      iguana/dpow/dpow_network.c
  2. 4
      iguana/iguana777.c

3
iguana/dpow/dpow_network.c

@ -1698,10 +1698,13 @@ void komodo_assetcoins(int32_t fullnode)
coin->chain->pubtype = 60;
coin->chain->p2shtype = 85;
coin->chain->wiftype = 188;
if ( fullnode < 0 )
{
sprintf(confstr,"%s.conf",CURRENCIES[i]);
sprintf(path,"%s/.komodo/%s",userhome,CURRENCIES[i]);
extract_userpass(coin->chain->serverport,coin->chain->userpass,CURRENCIES[i],coin->chain->userhome,path,confstr);
}
}
printf("(%s %u) ",CURRENCIES[i],port);
}
printf("ports\n");

4
iguana/iguana777.c

@ -27,10 +27,10 @@ struct iguana_info *iguana_coinfind(char *symbol)
struct iguana_info *coin=0; uint32_t symbolcrc; struct supernet_info *myinfo = SuperNET_MYINFO(0);
while ( myinfo->allcoins_being_added != 0 )
{
sleep(3);
sleep(1);
if ( myinfo->allcoins_being_added != 0 )
printf("wait for coinadd to complete, OK if rare\n");
sleep(3);
sleep(1);
}
symbolcrc = calc_crc32(0,symbol,(int32_t)strlen(symbol));
//portable_mutex_lock(&myinfo->allcoins_mutex);

Loading…
Cancel
Save