Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a9de3afc4d
  1. 2
      iguana/iguana777.c
  2. 7
      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++)
{
printf("%s ",ipaddrs[j]);
iguana_launchpeer(coin,ipaddrs[j]);
iguana_possible_peer(coin,ipaddrs[j]);
}
printf("possible peers\n");
}

7
iguana/iguana_recv.c

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

Loading…
Cancel
Save