jl777 8 years ago
parent
commit
8fa7da9edb
  1. 13
      iguana/dpow/dpow_network.c
  2. 2
      iguana/main.c

13
iguana/dpow/dpow_network.c

@ -239,7 +239,7 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct
}
}
best = bestmatches;
if ( matchbestk >= i && bestmatches < bp->minsigs && matches >= bp->minsigs )
if ( 0 && matchbestk >= i && bestmatches < bp->minsigs && matches >= bp->minsigs )
{
printf("bestmatches.%d (%d %llx) switch to matchmask (%d %llx)\n",bestmatches,ratifybestk,(long long)ratifybestmask,matchbestk,(long long)matchbestmask);
ratifybestk = matchbestk;
@ -681,6 +681,17 @@ uint16_t komodo_port(char *symbol,uint64_t supply,uint32_t *magicp,int32_t *shor
#define MAX_CURRENCIES 32
extern char CURRENCIES[][8];
void komodo_fiatports()
{
int32_t i,shortflag; uint16_t port; uint32_t magic;
for (i=0; i<MAX_CURRENCIES; i++)
{
port = komodo_port(CURRENCIES[i],10,&magic,&shortflag);
printf("(%s %d) ",CURRENCIES[i],port);
}
printf("fiat ports\n");
}
void komodo_assetcoins()
{
uint16_t extract_userpass(char *serverport,char *userpass,char *coinstr,char *userhome,char *coindir,char *confname);

2
iguana/main.c

@ -1671,6 +1671,8 @@ void iguana_main(void *arg)
}
}
}
void komodo_fiatports();
komodo_fiatports();
iguana_launchdaemons(myinfo);
}

Loading…
Cancel
Save