lower default target

takes about 2 minutes on my laptop
This commit is contained in:
Eitan Chatav 2016-11-18 14:28:01 -08:00
parent aca0c380cf
commit 7cb8a42629

View File

@ -46,8 +46,7 @@ let compare_target xs target =
List.for_all2 (fun o t -> get_16 o <= t) offsets target List.for_all2 (fun o t -> get_16 o <= t) offsets target
let default_target = let default_target =
let x = 1 lsl 16 - 1 in let x = 65535 in [0;256;x;x;x;x;x;x;x;x;x;x;x;x;x;x]
[0;1 lsl 13;x;x;x;x;x;x;x;x;x;x;x;x;x;x]
let check_proof_of_work pk nonce target = let check_proof_of_work pk nonce target =
let what_to_hash = let what_to_hash =