Commit graph

18 commits

Author SHA1 Message Date
Louis-Marie Baer
045dd7ab03 feat: separate logic into smaller modules
The original sources, while well documented, had files with over 2.5K LoC.
Separating the logic in different modules add clarity making the code easier to work with.
2024-03-03 08:37:35 +01:00
Louis-Marie Baer
d811f60b00 feat: cargo clippy 2024-02-27 05:08:14 +01:00
Louis-Marie Baer
55baa7054e fix: rustfmt formatting 2024-02-26 08:01:53 +01:00
hinto.janai
d27a1cad74
regex: add next block = 1 regex for p2pool 2023-12-28 16:19:44 -05:00
hinto.janai
9df40a79bf
update inlines 2023-12-28 10:41:42 -05:00
hinto.janai
b2ce128daa
regex: add more tests 2023-11-28 08:59:32 -05:00
hinto.janai
77d0a7e422
regex: relax domain regex and allow subdomains 2023-11-28 08:58:21 -05:00
hinto.janai
7d02dfadd0
replace lazy_static with once_cell 2023-05-11 16:01:17 -04:00
hinto.janai
8fbd949342
fix tests, add xmrig_set_mining test 2023-04-19 11:31:36 -04:00
hinto.janai
1fcb827181
xmrig: add ORANGE signal when not mining
XMRig output is now parsed, looking for signs if we're not mining
("no active pools, stop mining") or ARE mining ("new job [...]")
2023-04-19 10:18:04 -04:00
hinto.janai
c8e5462d33
regex: lazy_static everything instead of function input 2023-04-19 10:01:11 -04:00
hinto.janai
34a840cfac
tests: add p2pool sync test 2023-04-14 13:45:30 -04:00
hinto.janai
8300630875
regex: add p2pool SYNCHRONIZED 2023-04-14 11:29:31 -04:00
hinto.janai
e23ea89a28
Update copyright 2023-02-26 11:45:58 -05:00
hinto.janai
bf9c1eea19
Edit name 2023-02-26 11:44:25 -05:00
hinto-janaiyo
a3b6521415
Status Submenu: (de)serialize logs in our own format
Instead of saving P2Pool payout logs as they are, they are now
(de)serialized in the same [Display] format, e.g:

<DATE> <TIME>            | <12_DOT_FLOAT> XMR | Block <BLOCK>
2022-09-31 12:53:52.8683 | 0.166122683521 XMR | Block 2,713,512

The parsing functions were updated to be able to read both raw
log lines and the new above format.
2022-12-31 13:47:41 -05:00
hinto-janaiyo
30d8968dd8
Submenu Status: make regex more precise 2022-12-28 22:46:52 -05:00
hinto-janaiyo
46b528ecbe
Status Submenu: separate [Regex], [AtomicUnit], [PayoutOrd]
This fixes some funcs, tests and separates some structs into separate files.
2022-12-28 16:04:26 -05:00