Ver código fonte

Ajout d'un block équilibré

master
MEUNIER Thibaud 6 anos atrás
pai
commit
5e70658660
1 arquivos alterados com 7 adições e 1 exclusões
  1. +7
    -1
      blockchain/inc/block.php

+ 7
- 1
blockchain/inc/block.php Ver arquivo

@ -44,6 +44,12 @@ class blockchain
{
self::$special_blocks = array ();
self::$special_blocks[] = new block(
'0000000000000000001085a869441fa2aa77f149a887af0ce59846ef51da6e4c',
616193,
'EQUILIBRE'
);
self::$special_blocks[] = new block(
'0000000000000000000b05f877e6e49b380f4f78b3cfb605b67439f825dba197',
613470,
@ -175,7 +181,7 @@ class blockchain
}
// ---
// --- Retourne le nom d'un block à partie de son hash
// --- Retourne le nom d'un block à partir de son hash
// --- si ce n'est pas un block special, on renvoie le hash
// ---
public static function hash2SpecialName($block_hash)

Carregando…
Cancelar
Salvar