From: Roland Häder Date: Mon, 28 Apr 2014 12:22:35 +0000 (+0200) Subject: Much smaller nonce means much more to calculate + logged it on success (found hash). X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=0c60cb253ff32f11b35ea146777e29727d21c410;hp=7a8ffd1703f414441b2e59f805801c70351714f7 Much smaller nonce means much more to calculate + logged it on success (found hash). Signed-off-by: Roland Häder --- diff --git a/contrib/chash/chash.php b/contrib/chash/chash.php index eb55f6c0..6705b960 100644 --- a/contrib/chash/chash.php +++ b/contrib/chash/chash.php @@ -3,7 +3,7 @@ error_reporting(E_ALL | E_STRICT); define('HASH_ALGO', MHASH_RIPEMD320); define('BLOCK_SIZE', 100); -define('NONCE_INCREMENT', 0.0000000001); +define('NONCE_INCREMENT', 0.0000000000000001); define('START_TIME', microtime(TRUE)); // Found hashes @@ -322,7 +322,7 @@ while (TRUE) { array_push($foundHashes, $nonceHash); // Found hash: - print ('FOUND: nonceHash=' . $nonceHash .',iter=' . $iter . PHP_EOL); + print ('FOUND: nonceHash=' . $nonceHash .',nonce=' . $nonce . ',iter=' . $iter . PHP_EOL); // Use nonceHash as next modula hash $modulaHash = $nonceHash;