From 4eb03e20be6f722f99071cfaf0a747d19193ca39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 27 Jun 2014 15:49:01 +0200 Subject: [PATCH] A bit shorter. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- contrib/chash/chash.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']; } /** -- 2.39.5