Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a9de3afc4d
  1. 2
      iguana/iguana777.c
  2. 5
      iguana/iguana_recv.c

2
iguana/iguana777.c

@ -583,7 +583,7 @@ void iguana_coinloop(void *arg)
for (j=0; j<sizeof(ipaddrs)/sizeof(*ipaddrs); j++) for (j=0; j<sizeof(ipaddrs)/sizeof(*ipaddrs); j++)
{ {
printf("%s ",ipaddrs[j]); printf("%s ",ipaddrs[j]);
iguana_launchpeer(coin,ipaddrs[j]); iguana_possible_peer(coin,ipaddrs[j]);
} }
printf("possible peers\n"); printf("possible peers\n");
} }

5
iguana/iguana_recv.c

@ -944,9 +944,10 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct
if ( (block= iguana_blockfind("recvhashes2",coin,blockhashes[1])) == 0 ) if ( (block= iguana_blockfind("recvhashes2",coin,blockhashes[1])) == 0 )
{ {
iguana_blockhashset("recvhashes3",coin,-1,blockhashes[1],1); iguana_blockhashset("recvhashes3",coin,-1,blockhashes[1],1);
//if ( (block= iguana_blockfind("recvhashes4",coin,blockhashes[1])) != 0 ) if ( (block= iguana_blockfind("recvhashes4",coin,blockhashes[1])) != 0 )
// iguana_blockQ("recvhash6",coin,0,-6,blockhashes[1],1); // should be RT block iguana_blockQ("recvhash6",coin,0,-6,blockhashes[1],1); // should be RT block
} }
if ( block != 0 )
block->newtx = 1; block->newtx = 1;
iguana_blockQ("RTblock",coin,0,-7,blockhashes[1],1); // should be RT block iguana_blockQ("RTblock",coin,0,-7,blockhashes[1],1); // should be RT block
} }

Loading…
Cancel
Save