From d27a1cad746cd1716881fbbf3d1392eefc8d8834 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 28 Dec 2023 16:19:44 -0500 Subject: [PATCH] regex: add `next block = 1` regex for p2pool --- src/regex.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/regex.rs b/src/regex.rs index 85b3fbf..f93f219 100644 --- a/src/regex.rs +++ b/src/regex.rs @@ -85,6 +85,7 @@ pub struct P2poolRegex { pub block_int: Regex, pub block_comma: Regex, pub synchronized: Regex, + pub next_height_1: Regex, } impl P2poolRegex { @@ -99,6 +100,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(), } } }