Ajout d'un block équilibré
This commit is contained in:
@@ -44,6 +44,12 @@ class blockchain
|
|||||||
{
|
{
|
||||||
self::$special_blocks = array ();
|
self::$special_blocks = array ();
|
||||||
|
|
||||||
|
self::$special_blocks[] = new block(
|
||||||
|
'0000000000000000001085a869441fa2aa77f149a887af0ce59846ef51da6e4c',
|
||||||
|
616193,
|
||||||
|
'EQUILIBRE'
|
||||||
|
);
|
||||||
|
|
||||||
self::$special_blocks[] = new block(
|
self::$special_blocks[] = new block(
|
||||||
'0000000000000000000b05f877e6e49b380f4f78b3cfb605b67439f825dba197',
|
'0000000000000000000b05f877e6e49b380f4f78b3cfb605b67439f825dba197',
|
||||||
613470,
|
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
|
// --- si ce n'est pas un block special, on renvoie le hash
|
||||||
// ---
|
// ---
|
||||||
public static function hash2SpecialName($block_hash)
|
public static function hash2SpecialName($block_hash)
|
||||||
|
|||||||
Reference in New Issue
Block a user