updates `egui/eframe` -> `0.24.1` -> `0.26.2`

fixes non-responding nodes not being sorted correctly by ping ms
This commit is contained in:
hinto.janai 2024-03-18 16:49:58 -04:00
parent ba386eaad2
commit 6ad66d16fb
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
5 changed files with 1538 additions and 284 deletions

View file

@ -6,6 +6,9 @@
- Removed `bunkernet.ddns.net` - Removed `bunkernet.ddns.net`
- Removed `ru.poiuty.com` - Removed `ru.poiuty.com`
## Fixes
- Non-responding nodes not being sorted by ping speed
## Bundled Versions ## Bundled Versions
* [`P2Pool v3.10`](https://github.com/SChernykh/p2pool/releases/tag/v3.10) * [`P2Pool v3.10`](https://github.com/SChernykh/p2pool/releases/tag/v3.10)
* [`XMRig v6.21.1`](https://github.com/xmrig/xmrig/releases/tag/v6.21.1) * [`XMRig v6.21.1`](https://github.com/xmrig/xmrig/releases/tag/v6.21.1)

1806
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "gupax" name = "gupax"
version = "1.3.5" version = "1.3.6"
authors = ["hinto-janai <hinto.janai@protonmail.com>"] authors = ["hinto-janai <hinto.janai@protonmail.com>"]
description = "GUI for P2Pool+XMRig" description = "GUI for P2Pool+XMRig"
documentation = "https://github.com/hinto-janai/gupax" documentation = "https://github.com/hinto-janai/gupax"
@ -33,14 +33,14 @@ benri = "0.1.12"
bytes = "1.4.0" bytes = "1.4.0"
dirs = "5.0.1" dirs = "5.0.1"
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
egui = "0.24.1" egui = "0.26.2"
egui_extras = { version = "0.24.1", features = ["image"] } egui_extras = { version = "0.26.2", features = ["image"] }
## 2023-12-28: https://github.com/hinto-janai/gupax/issues/68 ## 2023-12-28: https://github.com/hinto-janai/gupax/issues/68
## ##
## 2024-03-18: Both `glow` and `wgpu` seem to crash: ## 2024-03-18: Both `glow` and `wgpu` seem to crash:
## <https://github.com/hinto-janai/gupax/issues/84> ## <https://github.com/hinto-janai/gupax/issues/84>
## `wgpu` seems to crash on less computers though so... ## `wgpu` seems to crash on less computers though so...
eframe = { version = "0.24.1", default-features = false, features = ["wgpu"] } eframe = { version = "0.26.2", features = ["wgpu"] }
## 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow] ## 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow]
## It also fixes crashes on CPU-based graphics. Only used for Windows. ## It also fixes crashes on CPU-based graphics. Only used for Windows.

View file

@ -17,7 +17,7 @@
pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0 pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0
pub const P2POOL_VERSION: &str = "v3.10"; pub const P2POOL_VERSION: &str = "v3.10";
pub const XMRIG_VERSION: &str = "v6.21.0"; pub const XMRIG_VERSION: &str = "v6.21.1";
pub const COMMIT: &str = env!("COMMIT"); // set in build.rs pub const COMMIT: &str = env!("COMMIT"); // set in build.rs
// e.g: Gupax_v1_0_0 // e.g: Gupax_v1_0_0
// Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.] // Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.]

View file

@ -392,7 +392,8 @@ impl Ping {
handle.await?; handle.await?;
} }
let node_vec = std::mem::take(&mut *lock!(node_vec)); let mut node_vec = std::mem::take(&mut *lock!(node_vec));
node_vec.sort_by(|a, b| a.ms.cmp(&b.ms));
let fastest_info = format!("Fastest node: {}ms ... {}", node_vec[0].ms, node_vec[0].ip); let fastest_info = format!("Fastest node: {}ms ... {}", node_vec[0].ms, node_vec[0].ip);
let info = "Cleaning up connections".to_string(); let info = "Cleaning up connections".to_string();