From: Roland Häder Date: Fri, 27 Jun 2014 13:49:01 +0000 (+0200) Subject: A bit shorter. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=4eb03e20be6f722f99071cfaf0a747d19193ca39 A bit shorter. Signed-off-by: Roland Häder --- diff --git a/contrib/chash/chash.php b/contrib/chash/chash.php index f00c8391..779cc3e1 100644 --- a/contrib/chash/chash.php +++ b/contrib/chash/chash.php @@ -8,7 +8,7 @@ $GLOBALS['block_size'] = 100; $GLOBALS['none_increment'] = (1 / pow(10, 12)); $GLOBALS['hash_algo'] = MHASH_RIPEMD320; $GLOBALS['flush_file_time'] = 10; -$GLOBALS['restart_search_time'] = 3600 * 12; +$GLOBALS['restart_search_time'] = 1800; // Hashes per call $GLOBALS['hash_cycles'] = 3; @@ -190,7 +190,7 @@ function calculateSumFromHash ($hash) { */ function calculateNonce () { // Linear incrementation - $GLOBALS['nonce'] = $GLOBALS['nonce'] + $GLOBALS['none_increment']; + $GLOBALS['nonce'] += $GLOBALS['none_increment']; } /**