diff --git a/CHANGELOG.md b/CHANGELOG.md index 264e29e..8efcdd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -# v1.2.4 +# v1.3.0 ## Updates +* Added P2Pool [backup host support](https://github.com/SChernykh/p2pool/blob/master/docs/COMMAND_LINE.MD#multiple-backup-hosts). `[Simple]` will fallback to next fastest nodes, `[Advanced]` will fallback to all other nodes in list. * [Remote Node](https://github.com/hinto-janai/gupax#remote-monero-nodes) changes: - Added `sf.xmr.support` - Added `node.cryptocano.de` @@ -18,9 +19,6 @@ - Removed `radishfields.hopto.org` - Removed `node.sethforprivacy.com` -## Fixes -* - ## Bundled Versions * [`P2Pool v3.5`](https://github.com/SChernykh/p2pool/releases/tag/v3.5) * [`XMRig v6.20.0`](https://github.com/xmrig/xmrig/releases/tag/v6.20.0) diff --git a/Cargo.lock b/Cargo.lock index 7b53207..b1bfc89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "gupax" -version = "1.2.4" +version = "1.3.0" dependencies = [ "anyhow", "arti-client", diff --git a/Cargo.toml b/Cargo.toml index f4e9ebc..b33cdbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gupax" -version = "1.2.4" +version = "1.3.0" authors = ["hinto-janai "] description = "GUI for P2Pool+XMRig" documentation = "https://github.com/hinto-janai/gupax" @@ -78,6 +78,8 @@ strsim = "0.10.0" tar = "0.4.38" flate2 = "1.0" sudo = "0.6.0" +## [glow] backend for macOS/Linux. +eframe = { version = "0.19.0", default-features = false, features = ["glow"] } # macOS [target.'cfg(target_os = "macos")'.dependencies] @@ -93,19 +95,16 @@ openssl = { version = "0.10", features = ["vendored"] } # We don't even use `xz` in `flate2` but this gets dynamically # linked as well which causes problems, so statically link it. lzma-sys = { version = "0.1.20", features = ["static"] } -## [glow] backend for macOS. -eframe = { version = "0.19.0", default-features = false, features = ["glow"] } -# Windows/Linux [target.'cfg(not(target_os = "macos"))'.dependencies] tls-api-native-tls = "0.9.0" ## [wgpu] backend -eframe = { version = "0.19.0", default-features = false, features = ["wgpu"] } # Windows dependencies [target.'cfg(windows)'.dependencies] zip = "0.6.6" is_elevated = "0.1.2" +eframe = { version = "0.19.0", default-features = false, features = ["wgpu"] } # For Windows build (icon) [target.'cfg(windows)'.build-dependencies] diff --git a/src/disk.rs b/src/disk.rs index 9d0ed86..2056849 100644 --- a/src/disk.rs +++ b/src/disk.rs @@ -1016,8 +1016,8 @@ pub struct P2pool { pub simple: bool, pub mini: bool, pub auto_ping: bool, - pub backup_host: bool, pub auto_select: bool, + pub backup_host: bool, pub out_peers: u16, pub in_peers: u16, pub log_level: u8, @@ -1229,6 +1229,7 @@ mod test { mini = true auto_ping = true auto_select = true + backup_host = true out_peers = 10 in_peers = 450 log_level = 3 @@ -1268,7 +1269,7 @@ mod test { selected_port = "3333" [version] - gupax = "v1.0.0" + gupax = "v1.3.0" p2pool = "v2.5" xmrig = "v6.18.0" "#; @@ -1402,6 +1403,7 @@ mod test { assert!(merged_state.contains(r#"node = "Seth""#)); assert!(!merged_state.contains("SETTING_THAT_DOESNT_EXIST_ANYMORE")); assert!(merged_state.contains("44hintoFpuo3ugKfcqJvh5BmrsTRpnTasJmetKC4VXCt6QDtbHVuixdTtsm6Ptp7Y8haXnJ6j8Gj2dra8CKy5ewz7Vi9CYW")); + assert!(merged_state.contains("backup_host = true")); } #[test]