Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
9f002e8d84
  1. 17301
      iguana/confs/DGB_peers.txt
  2. 28
      iguana/confs/GMC_peers.txt
  3. 14
      iguana/confs/UNO_peers.txt
  4. 2
      iguana/iguana_peers.c
  5. 2
      iguana/iguana_realtime.c
  6. 2
      iguana/iguana_tx.c
  7. 2
      iguana/iguana_wallet.c

17301
iguana/confs/DGB_peers.txt

File diff suppressed because it is too large

28
iguana/confs/GMC_peers.txt

@ -1,26 +1,8 @@
5.196.20.189
45.32.1.137
104.255.67.131
104.236.84.230
142.4.218.175
58.168.10.110
101.173.217.38
194.135.81.138
80.229.155.158
85.214.23.49
104.168.148.143
46.105.118.15
198.27.97.172
101.173.200.202
89.36.212.56
45.48.9.204
104.172.24.79
85.25.200.157
216.146.143.177
203.7.43.162
101.173.197.85
85.214.23.49
194.135.81.138
111.99.55.252
192.52.166.35
193.192.37.135
209.126.119.209
155.254.49.27
104.172.24.79
104.236.84.230
104.255.67.131

14
iguana/confs/UNO_peers.txt

@ -1,8 +1,8 @@
195.154.223.134
216.146.143.177
173.183.179.144
144.76.176.12
87.189.45.29
188.138.94.6
144.76.239.66
144.76.64.123
85.25.217.233
104.172.24.79
188.165.42.51
45.32.244.201
52.23.179.46
192.95.29.72
185.50.213.123

2
iguana/iguana_peers.c

@ -731,7 +731,7 @@ void iguana_startconnection(void *arg)
printf("avoid self-loopback\n");
return;
}
printf(">>>>>>>> startconnection.(%s) pending.%u usock.%d addrind.%d\n",addr->ipaddr,addr->pending,addr->usock,addr->addrind);
printf(">>>>>>>> %s startconnection.(%s) pending.%u usock.%d addrind.%d\n",coin->symbol,addr->ipaddr,addr->pending,addr->usock,addr->addrind);
addr->pending = (uint32_t)time(NULL);
if ( (port= (uint16_t)(addr->ipbits >> 32)) == 0 )
port = coin->chain->portp2p;

2
iguana/iguana_realtime.c

@ -272,8 +272,6 @@ void iguana_RTspend_create(struct supernet_info *myinfo,struct iguana_info *coin
spentpt.unspentind = unspentind;
spentpt.hdrsi = height / coin->chain->bundlesize;
spentpt.value = value;
if ( strcmp(coinaddr,"RRyBxbrAPRUBCUpiJgJZYrkxqrh8x5ta9Z") == 0 )
printf("spend old from ht.%d (%s %.8f).%d spendlen.%d\n",RTptr->height,coinaddr,dstr(value),addrtype,spendlen);
iguana_RTutxofunc(coin,&spentheight,&lockedflag,spentpt,&RTspentflag,0,RTptr->height);
spend->bundle_unspent = unspent;
}

2
iguana/iguana_tx.c

@ -128,7 +128,7 @@ int32_t iguana_voutset(struct iguana_info *coin,uint8_t *scriptspace,char *asmst
unspentind = (tx->firstvout + i);
u = &U[unspentind];
if ( u->txidind != tx->txidind || u->vout != i || u->hdrsi != height / coin->chain->bundlesize )
printf("iguana_voutset: txidind mismatch %d vs %d || %d vs %d || (%d vs %d)\n",u->txidind,u->txidind,u->vout,i,u->hdrsi,height / coin->chain->bundlesize);
printf("%s iguana_voutset: txidind mismatch t%d u%u || %d vs %d || (%d vs %d)\n",coin->symbol,u->txidind,unspentind,u->vout,i,u->hdrsi,height / coin->chain->bundlesize);
vout->value = u->value;
vout->pk_script = scriptspace;
scriptlen = iguana_voutscript(coin,bp,scriptspace,asmstr,u,&P[u->pkind],i);

2
iguana/iguana_wallet.c

@ -1003,7 +1003,7 @@ int64_t iguana_addressreceived(struct supernet_info *myinfo,struct iguana_info *
int64_t balance = 0; cJSON *unspentsjson,*balancejson,*item; int32_t i,n; char *balancestr;
if ( (balancestr= iguana_balance(IGUANA_CALLARGS,coin->symbol,coinaddr,1<<30,minconf)) != 0 )
{
printf("balancestr.(%s) (%s) firstheight.%d\n",balancestr,coinaddr,firstheight);
//printf("balancestr.(%s) (%s) firstheight.%d\n",balancestr,coinaddr,firstheight);
if ( (balancejson= cJSON_Parse(balancestr)) != 0 )
{
balance = jdouble(balancejson,"balance") * SATOSHIDEN;

Loading…
Cancel
Save