|
|
@ -1132,6 +1132,13 @@ int32_t iguana_RTblocksub(struct supernet_info *myinfo,struct iguana_info *coin, |
|
|
|
void iguana_RTnewblock(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_block *block) |
|
|
|
{ |
|
|
|
int32_t i,n,height,hdrsi,bundlei; struct iguana_block *addblock=0,*subblock=0; struct iguana_bundle *bp; |
|
|
|
if ( strcmp(coin->symbol,"BTC") != 0 && strcmp(coin->symbol,"LTC") != 0 ) |
|
|
|
{ |
|
|
|
if ( block->height < coin->firstRTheight+3 ) |
|
|
|
return; |
|
|
|
if ( (block= iguana_blockfind("RTnew",coin,iguana_blockhash(coin,block->height-3))) == 0 ) |
|
|
|
return; |
|
|
|
} |
|
|
|
if ( block->height < coin->firstRTheight || block->height >= coin->firstRTheight+sizeof(coin->RTblocks)/sizeof(*coin->RTblocks) ) |
|
|
|
{ |
|
|
|
if ( 0 && coin->firstRTheight > 0 ) |
|
|
|