Ce qui a pour effet de placer le block dans le cache // --- $the_block = blockchain::getSpecialBlock($block_hash); if ($the_block === FALSE) die(); echo $block_hash.' '.$the_block->hash." ".$the_block->height." ".$the_block->n_tx.PHP_EOL; if ($block_hash == 'LAST') for($max=0;($max<8)&&(!file_exists(DATA_PATH.'/json/'.$the_block->prev_block.'.zip'));$max++) { $block_hash = $the_block->prev_block; $the_block = blockchain::getBlockWithHash($block_hash); if ($the_block === FALSE) die(); echo 'CACHE '.$the_block->hash." ".$the_block->height." ".$the_block->n_tx.PHP_EOL; } ?>