fix: p2pool could get green while syncing

if verbosity of p2pool log < 3 and xmrig/proxy is mining on p2pool while
it is still syncing, p2pool could get green before being done syncing
and show incorrect data for a minute at most.

This data could get caught by algorithm and make a decision (only one)
based on incorrect info.
This commit is contained in:
Cyrix126 2024-11-02 18:00:15 +01:00
parent ff53ea81a8
commit 1d582809da

View file

@ -106,7 +106,7 @@ impl P2poolRegex {
block_int: Regex::new("[0-9]{7}").unwrap(),
block_comma: Regex::new("[0-9],[0-9]{3},[0-9]{3}").unwrap(),
synchronized: Regex::new("SYNCHRONIZED").unwrap(),
next_height_1: Regex::new("next height = 1").unwrap(),
next_height_1: Regex::new("sidechain height 0").unwrap(),
}
}
}