Réduire la durée du TWEET et ajouter le nbre de transactions dans le fichier block_liste.txt

This commit is contained in:
2018-09-25 20:43:18 +02:00
parent 4314f96d01
commit ebf5b0d648
4 changed files with 8 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ while(($max > 0)&&($max2 > 0))
if (!file_exists(DATA_PATH.'/json/'.$block_hash.'.zip'))
{
$max--;
echo 'CACHE '.$block_hash.' '.($the_block->height-1).PHP_EOL;
echo 'CACHE '.$block_hash.' '.($the_block->height-1)." ".$the_block->n_tx.PHP_EOL;
}
$the_block = blockchain::getBlockWithHash($block_hash);