From 4575791580086f6785fc1eae00b2c501ef78e908 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 17 Jun 2020 20:42:21 +0200
Subject: [PATCH] [mod] PoW: Raise to five zeros logs displaying matched
 challenge

Due to the increase of the common difficulty level, it makes sense to
increase the display of logs matched challenge to reduce amount of
generated logs in order to reduce the size of the log files.
This constant shouldn't to big otherwise small CPU smiths
wont get the hint that their node is forging.
---
 app/modules/prover/lib/constants.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/modules/prover/lib/constants.ts b/app/modules/prover/lib/constants.ts
index 299722a4b..33abd3b04 100644
--- a/app/modules/prover/lib/constants.ts
+++ b/app/modules/prover/lib/constants.ts
@@ -14,7 +14,7 @@
 export const ProverConstants = {
   CORES_MAXIMUM_USE_IN_PARALLEL: 8,
 
-  MINIMAL_ZEROS_TO_SHOW_IN_LOGS: 4,
+  MINIMAL_ZEROS_TO_SHOW_IN_LOGS: 5,
 
   POW_MINIMAL_TO_SHOW: 2,
   DEFAULT_CPU: 0.6,
-- 
GitLab