Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
c62d7b0ed1
  1. 4
      iguana/iguana_recv.c

4
iguana/iguana_recv.c

@ -1856,7 +1856,7 @@ int32_t iguana_processrecv(struct supernet_info *myinfo,struct iguana_info *coin
coin->balanceflush = 0; coin->balanceflush = 0;
//iguana_utxoaddr_gen(myinfo,coin,(coin->balanceswritten - 1) * coin->chain->bundlesize); //iguana_utxoaddr_gen(myinfo,coin,(coin->balanceswritten - 1) * coin->chain->bundlesize);
} }
/*if ( (rand() % 10) == 0 ) if ( (rand() % 10) == 0 )
{ {
if ( coin->utxoaddrtable != 0 && coin->RTheight > 0 && coin->RTheight <= coin->blocks.hwmchain.height ) if ( coin->utxoaddrtable != 0 && coin->RTheight > 0 && coin->RTheight <= coin->blocks.hwmchain.height )
{ {
@ -1864,7 +1864,7 @@ int32_t iguana_processrecv(struct supernet_info *myinfo,struct iguana_info *coin
if ( (block= iguana_blockfind("utxogen",coin,coin->blocks.hwmchain.RO.hash2)) != 0 ) if ( (block= iguana_blockfind("utxogen",coin,coin->blocks.hwmchain.RO.hash2)) != 0 )
iguana_RTnewblock(myinfo,coin,block); iguana_RTnewblock(myinfo,coin,block);
} }
}*/ }
flag += iguana_processrecvQ(myinfo,coin,&newhwm); flag += iguana_processrecvQ(myinfo,coin,&newhwm);
if ( (rand() % 10) == 0 ) if ( (rand() % 10) == 0 )
flag += iguana_reqblocks(myinfo,coin); flag += iguana_reqblocks(myinfo,coin);

Loading…
Cancel
Save