mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
regex: add next block = 1
regex for p2pool
This commit is contained in:
parent
7024c461ba
commit
d27a1cad74
1 changed files with 2 additions and 0 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue