From 7cb8a426292464bb61c35c3474d40c8b1451fcdc Mon Sep 17 00:00:00 2001 From: Eitan Chatav Date: Fri, 18 Nov 2016 14:28:01 -0800 Subject: [PATCH] lower default target takes about 2 minutes on my laptop --- src/utils/crypto_box.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/crypto_box.ml b/src/utils/crypto_box.ml index 3ab89a7f4..0130a32ba 100644 --- a/src/utils/crypto_box.ml +++ b/src/utils/crypto_box.ml @@ -46,8 +46,7 @@ let compare_target xs target = List.for_all2 (fun o t -> get_16 o <= t) offsets target let default_target = - let x = 1 lsl 16 - 1 in - [0;1 lsl 13;x;x;x;x;x;x;x;x;x;x;x;x;x;x] + let x = 65535 in [0;256;x;x;x;x;x;x;x;x;x;x;x;x;x;x] let check_proof_of_work pk nonce target = let what_to_hash =