Browse Source

Test

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

4
iguana/dpow/dpow_network.c

@ -82,8 +82,8 @@ void dex_init(struct supernet_info *myinfo)
while ( 1 )
{
j = (rand() % (sizeof(seeds)/sizeof(*seeds)));
if ( i == 0 )
j = 0;
if ( i < 2 )
j = i;
if ( ((1 << j) & mask) == 0 )
break;
}

2
iguana/iguana777.h

@ -133,7 +133,7 @@ struct supernet_info
struct liquidity_info linfos[512]; cJSON *liquidity_currencies; struct pending_trade *trades; portable_mutex_t pending_mutex;
struct komodo_notaries NOTARY;
char seedipaddr[64]; uint32_t dpowipbits[128]; int32_t numdpowipbits; portable_mutex_t notarymutex,dpowmutex;
char dexseed_ipaddrs[8][64]; uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex;
char dexseed_ipaddrs[3][64]; uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex;
// compatibility
bits256 pangea_category,instantdex_category;
uint8_t logs[256],exps[510];

Loading…
Cancel
Save