- $GLOBALS['total_blocks'] . '|' .
- $GLOBALS['total_reward'] . '|' .
- $GLOBALS['total_hashes'] . '|' .
- $GLOBALS['total_found'] . '|' .
- $GLOBALS['total_restarts'] . '|' .
- $GLOBALS['hash_cycles'] . '|' .
- $GLOBALS['salt'] . '|' .
- $GLOBALS['difficulty'] . '|' .
- base64_encode((float) $GLOBALS['nonce']) . '|' .
- $hash . '|' .
- $GLOBALS['root_hash'] . '|' .
- base64_encode(gzcompress(json_encode($GLOBALS['found_hashes'])))
+ // 0 1 2 3 4 5 6 7 8 9 10 11
+ sprintf('%d|%s|%d|%d|%d|%d|%s|%d|%s|%s|%s|%s',
+ // 0
+ $GLOBALS['total_blocks'],
+ // 1
+ $GLOBALS['total_reward'],
+ // 2
+ $GLOBALS['total_hashes'],
+ // 3
+ $GLOBALS['total_found'],
+ // 4
+ $GLOBALS['total_restarts'],
+ // 5
+ $GLOBALS['hash_cycles'],
+ // 6
+ $GLOBALS['salt'],
+ // 7
+ $GLOBALS['difficulty'],
+ // 8
+ base64_encode((float) $GLOBALS['nonce']),
+ // 9
+ $hash,
+ // 10
+ $GLOBALS['root_hash'],
+ // 11
+ base64_encode(gzcompress(json_encode($GLOBALS['found_hashes'])))
+ )