Commit graph

397 commits

Author SHA1 Message Date
hinto.janai
0d63429dfe
main: fix scroll bar width 2023-12-26 11:45:39 -05:00
hinto.janai
ab8322c2d0
main: fix init resolution 2023-12-26 11:43:53 -05:00
hinto.janai
ca881539f1
gupax: fix Frame resize 2023-12-26 11:38:46 -05:00
hinto.janai
039aed1679
constants: fix visuals 2023-12-26 11:33:32 -05:00
hinto.janai
91e5cddb8b
for -> while 2023-12-25 09:52:24 -05:00
hinto.janai
864e8ea394
helper: strip ANSI escape sequences at beginning of PTY start 2023-12-25 09:45:55 -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
1bfd72a8c2
v1.3.3 2023-11-26 19:18:07 -05:00
hinto.janai
68e01760f9
update cpu.json 2023-11-26 19:06:51 -05:00
hinto.janai
42e67d940e
node: only add simple nodes to backup lists if green/yellow
This avoids adding potential dead nodes to the list and causing
P2Pool to abort. If no ping data is available, no backup nodes
are added.
2023-11-26 16:26:51 -05:00
hinto.janai
b4a4e83457
p2pool: shorten simple terminal height
same height as xmrig advanced, should prevent (most)
clipping issues on low resolution windows
2023-11-24 10:12:04 -05:00
hinto.janai
1b21928eb8
150GB -> 170GB 2023-11-24 09:37:03 -05:00
hinto.janai
430fa8f78c
ui: link to https://xmrig.com/benchmark instead 2023-11-24 09:34:34 -05:00
hinto.janai
8976641d48
constants: use build-time COMMIT env var 2023-11-24 09:30:15 -05:00
hinto.janai
ff4b0181ad
node: check get_info sync progress 2023-11-24 09:12:03 -05:00
hinto.janai
846b6265ea
node: remove xmr.theuplink.net 2023-11-24 09:05:59 -05:00
hinto.janai
2e5521e468
node: deserialize get_info when pinging 2023-11-24 09:03:32 -05:00
hinto.janai
bf15d3f42f
update: add new curl & wget user-agents 2023-11-19 12:53:45 -05:00
hinto.janai
ea385a61cf
update: remove CVE affected curl user-agents
7.69.0 to 8.3.0 https://curl.se/docs/CVE-2023-38545.html
2023-11-19 12:49:25 -05:00
hinto.janai
98750ace61
xmrig: center align sliders and reduce width 2023-11-19 12:30:25 -05:00
hinto.janai
587700ea04
add custom panic handler 2023-11-17 13:21:02 -05:00
hinto.janai
1eff1b0780
v1.3.2 2023-10-22 18:40:22 -04:00
hinto.janai
2af44ac40f
update cpu.json 2023-10-22 18:11:25 -04:00
hinto.janai
f156d7b9a2
remove node: oracle.netrix.cc 2023-10-22 17:15:01 -04:00
hinto.janai
874f11cb3e
add 0.1..=2.0 window pixel_per_point scaling 2023-10-22 17:14:02 -04:00
hinto.janai
aa1b3717da
v1.3.0 2023-07-13 13:15:39 -04:00
hinto.janai
19f374eb0a
node: add fbx.tranbert.com 2023-07-13 12:02:23 -04:00
hinto.janai
27369c26af
node: add oracle.netrix.cc 2023-07-13 12:01:09 -04:00
hinto.janai
b8d02617e7
node: add bunkernet.ddns.net 2023-07-13 11:59:34 -04:00
hinto.janai
a1a070b1ce
node: add node.cryptocano.de 2023-07-13 11:57:12 -04:00
hinto.janai
725f1416da
node: add sf.xmr.support
This is probably just a redirect to `xmr.support` though.
2023-07-13 11:55:47 -04:00
hinto.janai
92ec78f971
node: remove node.sethforprivacy.com
Bad uptime.
2023-07-13 11:54:35 -04:00
hinto.janai
ca14ccef18
node: remove radishfields.hopto.org
Down.
2023-07-13 11:53:52 -04:00
hinto.janai
d4ef277716
node: remove xmr.foxpro.su
Bad uptime.
2023-07-13 11:53:07 -04:00
hinto.janai
e34bb97aaa
node: remove monero.homeqloud.com
Down.
2023-07-13 11:52:42 -04:00
hinto.janai
b72058726e
node: remove reynald.ro
Down.
2023-07-13 11:52:14 -04:00
hinto.janai
669aaf56b9
node: remove m1.poiuty.com
Down.
2023-07-13 11:51:49 -04:00
hinto.janai
49da821308
node: remove de.poiuty.com
Down.
2023-07-13 11:51:21 -04:00
hinto.janai
24903f049f
node: remove node.moneroworld.com
Down.
2023-07-13 11:50:54 -04:00
hinto.janai
ad58058b5b
node: remove monero2.10z.com.ar
Bad uptime.
2023-07-13 11:50:10 -04:00
hinto.janai
083412157f
node: remove node.yeetin.me
Bad uptime.
2023-07-13 11:49:25 -04:00
hinto.janai
33cd2db53c
node: remove xmr.aa78i2efsewr0neeknk.xyz
Bad uptime.
2023-07-13 11:48:10 -04:00
hinto.janai
04fb526c58
update cpu.json 2023-07-13 11:45:59 -04:00
hinto.janai
c4d534ec98
impl backup hosts 2023-07-13 11:45:04 -04:00
hinto.janai
f45027e929
prepare v1.2.4 2023-07-13 10:44:05 -04:00
hinto.janai
34abbe73fa
helper: add --light-mode for p2pool 2023-06-05 08:25:08 -04:00
hinto.janai
9efe1e0d1a
v1.2.3 2023-06-03 11:33:56 -04:00
hinto.janai
483a94f203
node: add xmr.theuplink.net:18081:18084 2023-06-03 11:19:11 -04:00
hinto.janai
4d60d430ca
node: add xmr.support:18081:18083 2023-06-03 11:18:24 -04:00
hinto.janai
9da3b73e4f
update cpu.json 2023-06-03 11:10:32 -04:00
hinto.janai
95287c003d
update: enable Tor by default on macOS
It works now, should be on by default.
2023-06-01 11:55:01 -04:00
hinto.janai
380620c050
update: fix macOS Tor's TLS
On apple-darwin targets there is an issue with the native and rustls
tls implementation so this makes it fall back to the openssl variant.

https://gitlab.torproject.org/tpo/core/arti/-/issues/715
2023-06-01 11:53:03 -04:00
hinto.janai
df37784ad7
add typo.yml 2023-06-01 09:15:48 -04:00
hinto.janai
b511353710
status: update xmrig cpu/hashrate label 2023-06-01 09:04:00 -04:00
hinto.janai
007173ba84
helper: set NO_COLOR env for p2pool
The undisplayable ANSI codes appearing in Gupax's
P2Pool console were indeed color codes.

P2Pool's "Log started" message doesn't check `--no-color`,
but it does check `NO_COLOR`, so set that before starting.
2023-05-30 12:19:39 -04:00
hinto.janai
9b757d1db9
helper: adjust portable_pty
new `portable_pty` from `cargo upgrade`
has a new API on getting STDIN.
2023-05-30 11:57:00 -04:00
hinto.janai
2457f9fed2
use matrix for CI 2023-05-30 10:56:08 -04:00
hinto.janai
17d0a91fef
update: prepare for macos-arm64 2023-05-30 10:15:56 -04:00
hinto.janai
4c39b58579
v1.2.2 2023-05-11 16:55:26 -04:00
hinto.janai
690d9b2a6a
update cpu.json 2023-05-11 16:24:33 -04:00
hinto.janai
465b2723f2
node: add xmr.foxpro.su 2023-05-11 16:15:30 -04:00
hinto.janai
95d2584e05
node: add node.yeetin.me 2023-05-11 16:14:28 -04:00
hinto.janai
027920c9a7
node: add node.moneroworld.com 2023-05-11 16:12:12 -04:00
hinto.janai
37c62a1f9a
node: add node.sethforprivacy.com 2023-05-11 16:11:08 -04:00
hinto.janai
5eb64a9a3a
num_cpus -> benri 2023-05-11 16:03:32 -04:00
hinto.janai
7d02dfadd0
replace lazy_static with once_cell 2023-05-11 16:01:17 -04:00
hinto.janai
1e04bd2fa7
node: return random instead of [0] for a default 2023-04-24 13:48:32 -04:00
hinto.janai
4e87277bbd
node: remove node-02-xmr.godevs.cloud 2023-04-24 13:42:57 -04:00
hinto.janai
cc4d6f0fae
node: remove node-01-xmr.godevs.cloud 2023-04-24 13:42:42 -04:00
hinto.janai
6187d45528
node: remove monero.jameswillhoite.com 2023-04-24 13:42:14 -04:00
hinto.janai
5b1b414607
node: remove escom.sadovo.com 2023-04-24 13:34:52 -04:00
hinto.janai
31b1545d40
node: only fail test if failure rate is >50% 2023-04-24 13:18:20 -04:00
hinto.janai
d0df49a0cd
update: add help message 2023-04-21 11:18:22 -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
bf4d286fad
gui: p2pool sync color BLUE -> ORANGE 2023-04-19 09:35:51 -04:00
hinto.janai
f1320b91bd
gui: change Style
Everything to `Monospace`, set all colors to `ACCENT_COLOR`,
round all corners, set all widget text to `255, 255, 255` (rgb).
2023-04-16 12:49:48 -04:00
hinto.janai
34a840cfac
tests: add p2pool sync test 2023-04-14 13:45:30 -04:00
hinto.janai
7d9ed1b0b8
main: add path deletion help for disk errors 2023-04-14 12:56:36 -04:00
hinto.janai
29ca04c4f1
main: fix potential index panic 2023-04-14 12:30:19 -04:00
hinto.janai
a4eba8a77f
status: fix p2pool stats overflow
Use all available height so `P2Pool` stats don't overflow
2023-04-14 12:19:09 -04:00
hinto.janai
7b56a7b900
main: integrate Syncing signal 2023-04-14 12:12:35 -04:00
hinto.janai
e425388dc8
helper: add check for p2pool synchronized 2023-04-14 11:29:45 -04:00
hinto.janai
8300630875
regex: add p2pool SYNCHRONIZED 2023-04-14 11:29:31 -04:00
hinto.janai
45d76dd402
v1.2.1 2023-03-30 10:39:08 -04:00
hinto.janai
80320decee
cpu.json: update from ef1f6f08ac 2023-03-30 10:24:29 -04:00
hinto.janai
375577d72c
update readme 2023-03-30 10:17:04 -04:00
hinto.janai
40992d82a9
p2pool_api: local/stats -> local/stratum 2023-03-30 09:45:21 -04:00
hinto.janai
2c5bd0d7f6
v1.2.0 2023-03-18 11:52:37 -04:00
hinto.janai
64773c2856
human: inline 2023-03-17 20:57:56 -04:00
hinto.janai
a9287e1902
update: add more recent versions for fake curl HTTP header 2023-03-17 20:57:15 -04:00
hinto.janai
7e29462f79
status: implement Benchmarks submenu 2023-03-17 16:12:06 -04:00
hinto.janai
4058aa0f8f
node: fix node name max length 2023-03-17 16:11:22 -04:00
hinto.janai
c388f53cd1
Add cpu.json from c86b3a4e06 2023-03-17 16:05:35 -04:00
hinto.janai
6d8c2a76ff
node: add monero.jameswillhoite.com 2023-03-17 12:46:46 -04:00
hinto.janai
a07f18d2de
node: add p2pool.uk (good uptime) 2023-03-01 12:13:46 -05:00
hinto.janai
ac8b23dfbc
node: add xmr.aa78i2efsewr0neeknk.xyz (spooky name but good uptime) 2023-03-01 12:11:09 -05:00
hinto.janai
554f94ece0
node: remove fbx.tranbert.com (failing daily ping tests) 2023-03-01 12:06:37 -05:00
hinto.janai
2e90b9803e
helper: always reset xmrig GUI output before starting 2023-03-01 12:04:07 -05: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
a1c2814a3d
node: try 5 times before failing test 2023-02-12 12:37:10 -05:00
hinto-janaiyo
296e6c2413
v1.1.2 2023-02-06 21:55:33 -05:00
hinto-janaiyo
c592f0c9af
only use wgpu backend for Windows 2023-02-06 19:41:17 -05:00
hinto-janaiyo
95953ffda9
helper: fix STDIN on Windows P2Pool PTY 2023-02-06 17:50:48 -05:00
hinto-janaiyo
703b16c324
switch eframe rendering backend from glow to wgpu
The `glow` backend crashes on certain CPU-based graphics, particularly,
Windows running a CPU with integrated graphics using the basic
Microsoft Display Adapter driver.

`wgpu` seems to work everywhere.
2023-02-06 12:40:14 -05:00
hinto-janaiyo
a629aa6ffe
helper: use current values instead of [selected_*] for p2pool/xmrig 2023-02-06 11:32:38 -05:00
hinto-janaiyo
55f8c24cc7
helper: localhost into 127.0.0.1 for xmrig 2023-02-06 09:17:09 -05:00
hinto-janaiyo
de142fb4c3
helper: localhost into 127.0.0.1 for p2pool 2023-02-03 10:32:01 -05:00
hinto-janaiyo
fdb3ce81cf
v1.1.1 2023-01-31 10:06:09 -05:00
hinto-janaiyo
1548aa3473
Add GitHub Actions 2023-01-28 21:55:19 -05:00
hinto-janaiyo
4f20cefd95
Remote Node: update changelog & cargo update 2023-01-26 15:41:28 -05:00
hinto-janaiyo
3fd5edc314
Remote Node: fix UI and backend functions for remote nodes 2023-01-25 22:42:47 -05:00
hinto-janaiyo
304e8afbef
Remote Node: replace "community" nodes with "ZMQ" nodes 2023-01-25 20:47:59 -05:00
hinto-janaiyo
d64f4a9280
node: add seed nodes, change ping color 2023-01-23 17:05:34 -05:00
hinto-janaiyo
192b388a17
p2pool: add warning about remote nodes in [Simple] 2023-01-23 14:40:45 -05:00
hinto-janaiyo
786b300623
main: reduce top/bottom bar size
This should generally help some spacing issues with the UI and
prevent the [Status/P2Pool] square from expanding out.
2023-01-22 21:30:21 -05:00
hinto-janaiyo
94839a0943
node: add MoneroWorld & HashVault 2023-01-22 21:01:10 -05:00
hinto-janaiyo
5c6b11a0d4
Merge pull request #10 from maddymodd/update-text-removal
Remove the up-to-date text
2023-01-06 16:21:04 +00:00
rosedaler
35fd98d0ca Update main.rs 2023-01-04 11:55:05 -05:00
rosedaler
6b3ae3ea5e Fix spelling of a term, also update gitignore 2023-01-04 10:24:35 -05:00
hinto-janaiyo
de033260e6
v1.1.0 2023-01-03 15:42:09 -05:00
hinto-janaiyo
1301d1a283
v1.1.0: Merge 'status' branch 2023-01-03 12:21:22 -05:00
hinto-janaiyo
388d279e77
v1.1.0 2023-01-03 12:17:38 -05:00
hinto-janaiyo
6430146fe5
Status Submenu: add [--payouts] & [--reset-payouts]
Prints and resets the GupaxP2poolApi [p2pool] files.
2023-01-02 13:32:55 -05:00
hinto-janaiyo
af688427c7
Status Submenu: fix some clippy warnings 2023-01-01 18:57:11 -05:00
hinto-janaiyo
830ee9ebcd
Status Submenu: update hashrate dominance with [Manual] hashrate
The % dominance stats now update along with the manual hashrate.

The updating UI blocks were also moved so all the updating stats
are close to each other.
2023-01-01 15:37:00 -05:00
hinto-janaiyo
f97935d1e8
Status Submenu: remove [Monero] submenu, fix [P2Pool] spacing
There's not much interesting data I could display that regular
Monero GUI or a block explorer can't do, so I'm scrapping the
[Monero] tab. Maybe it'll come back if I rewrite [Status] to include
graphs (never).

The [P2Pool] submenu is pretty much done, this changed the spacing
to make the logs larger and so all the elements fit correctly.
2023-01-01 14:51:30 -05:00
hinto-janaiyo
475bdcce0e
Status Submenu: add [***] progress bar for P2Pool stat refresh 2023-01-01 09:46:23 -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
df09eb343a
v1.0.1 2022-12-31 10:03:52 -05:00
hinto-janaiyo
e42e776f00
main: update absolute paths before starting processes
Some situations won't update the path and so starting processes
didn't do anything and failed, this makes sure we have a valid
path before starting.
2022-12-30 19:29:30 -05:00
hinto-janaiyo
e8751842ce
Status Submenu: Add [Status/P2Pool] UI and data 2022-12-30 19:22:43 -05:00
hinto-janaiyo
08cda22e68
Status Submenu: add Unix [750] perms for Gupax data folder 2022-12-30 09:39:03 -05:00
hinto-janaiyo
04d270b37f
main: properly show "Okay|Panic" after initial disk error
When Gupax can't read disk files at startup, it will [Error],
with an option to reset the state file, the user is given two
options [Yes] or [No].

Gupax's global error screen system ignores new errors from
overriding the current IF the current is a [Panic]. This makes
sure the worst errors stay on screen.

This also means after clicking [Yes], it will get ignored and the
screen won't change. So, allow for certain buttons to pass through.

I should probably re-make this whole global error screen system,
it's pretty much a global variable anyone can mutate randomly.
2022-12-29 17:23:49 -05:00
hinto-janaiyo
553081d2aa
Status Submenu: add basic [PayoutView] GUI <-> API UI 2022-12-29 17:03:29 -05:00
hinto-janaiyo
983f6560ad
Submenu Status: clean up types, funcs, etc
General cleanup and optimizations. Some functions are fixed,
some were turned into [const fn], and other small stuff like
[AtomicUnit] using a [u64] instead of a [u128]
2022-12-29 12:12:12 -05:00
hinto-janaiyo
30d8968dd8
Submenu Status: make regex more precise 2022-12-28 22:46:52 -05:00
hinto-janaiyo
19b5a2790b
Status Submenu: add macros!()
Writing [a.lock().unwrap().b.lock().unwrap()] sucks, so these are
some macros that are for common situations. This commit also has
a [sed] replace on all previous code that _could_ have been a macro,
which they all are now.

Hopefully nothing breaks :D
2022-12-28 22:03:45 -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
hinto-janaiyo
fd6398fb4d
Status Submenu: add [PayoutOrd] parse & update from log 2022-12-27 19:47:36 -05:00
hinto-janaiyo
13280e229c
Status Submenu: add [PayoutOrd] struct, impl, tests 2022-12-27 17:27:10 -05:00
hinto-janaiyo
a66e52bee5
Status Submenu: add submenu UI to [Status] tab 2022-12-27 16:29:12 -05:00
hinto-janaiyo
51816323cd
Status Submenu: add [AtomicUnit] to [helper.rs] 2022-12-27 16:28:43 -05:00
hinto-janaiyo
6b74e20347
Status Submenu: add [Status] to [disk::State] 2022-12-27 12:58:46 -05:00
hinto-janaiyo
267f636382
Status Submenu: add [user_p2pool_percent] & [user_monero_percent]
user_p2pool_percent = The percent of hashrate the user accounts for
relative to all of P2Pool's hashrate.

user_monero_percent = The percent of hashrate the user accounts for
relative to all of Monero's hashrate.
2022-12-27 11:15:14 -05:00
hinto-janaiyo
a6222bfa73
Status Submenu: add new API reads in P2Pool watchdog loop
This adds all necessary functions/conversions/serde/tests for the
new APIs. It also includes the actual reads inside the watchdog loop.

Every loop, [tick] will increment by 1. At [60], the watchdog
will attempt to read and parse the [network] & [pool] APIs.
Since the loop is [900ms], this means this will occur around
every 54 seconds. [tick] gets reset upon successful read/parsing.
2022-12-27 09:38:02 -05:00
hinto-janaiyo
2846441049
Status Submenu: add [GupaxP2poolApi] to [disk.rs], add to [App] 2022-12-26 17:37:45 -05:00