|
@ -1855,14 +1855,18 @@ 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 ( coin->utxoaddrtable != 0 && coin->RTheight > 0 && coin->RTheight <= coin->blocks.hwmchain.height ) |
|
|
if ( (rand() % 10) == 0 ) |
|
|
{ |
|
|
{ |
|
|
struct iguana_block *block; |
|
|
if ( coin->utxoaddrtable != 0 && coin->RTheight > 0 && coin->RTheight <= coin->blocks.hwmchain.height ) |
|
|
if ( (block= iguana_blockfind("utxogen",coin,coin->blocks.hwmchain.RO.hash2)) != 0 ) |
|
|
{ |
|
|
iguana_RTnewblock(myinfo,coin,block); |
|
|
struct iguana_block *block; |
|
|
|
|
|
if ( (block= iguana_blockfind("utxogen",coin,coin->blocks.hwmchain.RO.hash2)) != 0 ) |
|
|
|
|
|
iguana_RTnewblock(myinfo,coin,block); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
flag += iguana_processrecvQ(myinfo,coin,&newhwm); |
|
|
flag += iguana_processrecvQ(myinfo,coin,&newhwm); |
|
|
flag += iguana_reqblocks(myinfo,coin); |
|
|
if ( (rand() % 10) == 0 ) |
|
|
|
|
|
flag += iguana_reqblocks(myinfo,coin); |
|
|
if ( time(NULL) > coin->laststats+30 ) |
|
|
if ( time(NULL) > coin->laststats+30 ) |
|
|
{ |
|
|
{ |
|
|
flag += iguana_reqhdrs(coin); |
|
|
flag += iguana_reqhdrs(coin); |
|
|