mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-23 07:09:23 +00:00
v1.1.1
This commit is contained in:
parent
1548aa3473
commit
fdb3ce81cf
5 changed files with 87 additions and 70 deletions
8
.github/workflows/ping.yml
vendored
8
.github/workflows/ping.yml
vendored
|
@ -6,6 +6,14 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 4 * * *"
|
- cron: "0 4 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
44
Cargo.lock
generated
44
Cargo.lock
generated
|
@ -217,9 +217,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "async-trait"
|
name = "async-trait"
|
||||||
version = "0.1.63"
|
version = "0.1.64"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "eff18d764974428cf3a9328e23fc5c986f5fbed46e6cd4cdf42544df5d297ec1"
|
checksum = "1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
@ -1479,9 +1479,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures"
|
name = "futures"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0"
|
checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
|
@ -1494,9 +1494,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-channel"
|
name = "futures-channel"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed"
|
checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-core",
|
"futures-core",
|
||||||
"futures-sink",
|
"futures-sink",
|
||||||
|
@ -1504,15 +1504,15 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-core"
|
name = "futures-core"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac"
|
checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-executor"
|
name = "futures-executor"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2"
|
checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-core",
|
"futures-core",
|
||||||
"futures-task",
|
"futures-task",
|
||||||
|
@ -1521,15 +1521,15 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-io"
|
name = "futures-io"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb"
|
checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-macro"
|
name = "futures-macro"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d"
|
checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
@ -1538,21 +1538,21 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-sink"
|
name = "futures-sink"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9"
|
checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-task"
|
name = "futures-task"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea"
|
checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures-util"
|
name = "futures-util"
|
||||||
version = "0.3.25"
|
version = "0.3.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6"
|
checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
|
@ -4083,9 +4083,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio"
|
name = "tokio"
|
||||||
version = "1.24.2"
|
version = "1.25.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "597a12a59981d9e3c38d216785b0c37399f6e415e8d0712047620f189371b0bb"
|
checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
|
@ -563,14 +563,16 @@ These are the remote nodes used by Gupax in the `[P2Pool Simple]` tab. They are
|
||||||
| reynald.ro | 🇫🇷 FR - Île-de-France | 18089 | 18084 |
|
| reynald.ro | 🇫🇷 FR - Île-de-France | 18089 | 18084 |
|
||||||
| node2.monerodevs.org | 🇫🇷 FR - Occitanie | 18089 | 18084 |
|
| node2.monerodevs.org | 🇫🇷 FR - Occitanie | 18089 | 18084 |
|
||||||
| monero.homeqloud.com | 🇬🇷 GR - East Macedonia and Thrace | 18089 | 18083 |
|
| monero.homeqloud.com | 🇬🇷 GR - East Macedonia and Thrace | 18089 | 18083 |
|
||||||
|
| home.allantaylor.kiwi | 🇳🇿 NZ - Canterbury | 18089 | 18083 |
|
||||||
| ru.poiuty.com | 🇷🇺 RU - Kuzbass | 18081 | 18084 |
|
| ru.poiuty.com | 🇷🇺 RU - Kuzbass | 18081 | 18084 |
|
||||||
|
| node-01-xmr.godevs.cloud | 🇸🇬 SG - Singapore | 18089 | 18083 |
|
||||||
|
| node-02-xmr.godevs.cloud | 🇸🇬 SG - Singapore | 18089 | 18083 |
|
||||||
| radishfields.hopto.org | 🇺🇸 US - Colorado | 18081 | 18084 |
|
| radishfields.hopto.org | 🇺🇸 US - Colorado | 18081 | 18084 |
|
||||||
| xmrbandwagon.hopto.org | 🇺🇸 US - Colorado | 18081 | 18084 |
|
| xmrbandwagon.hopto.org | 🇺🇸 US - Colorado | 18081 | 18084 |
|
||||||
| xmr.spotlightsound.com | 🇺🇸 US - Kansas | 18081 | 18084 |
|
| xmr.spotlightsound.com | 🇺🇸 US - Kansas | 18081 | 18084 |
|
||||||
| xmrnode.facspro.net | 🇺🇸 US - Nebraska | 18089 | 18084 |
|
| xmrnode.facspro.net | 🇺🇸 US - Nebraska | 18089 | 18084 |
|
||||||
| moneronode.ddns.net | 🇺🇸 US - Pennsylvania | 18089 | 18084 |
|
| moneronode.ddns.net | 🇺🇸 US - Pennsylvania | 18089 | 18084 |
|
||||||
| node.richfowler.net | 🇺🇸 US - Pennsylvania | 18089 | 18084 |
|
| node.richfowler.net | 🇺🇸 US - Pennsylvania | 18089 | 18084 |
|
||||||
| bunkernet.ddns.net | 🇿🇦 ZA - Western Cape | 18089 | 18084 |
|
|
||||||
|
|
||||||
These are community nodes that **DON'T** have ZMQ enabled but are fast and well-known. These are not used in Gupax but can be used for general Monero usage.
|
These are community nodes that **DON'T** have ZMQ enabled but are fast and well-known. These are not used in Gupax but can be used for general Monero usage.
|
||||||
|
|
||||||
|
@ -611,7 +613,10 @@ before attempting a full build.
|
||||||
---
|
---
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
You'll need the development versions of libraries like `OpenSSL`, `SQLite`, and maybe some other ones already installed on your system. Read the compiler errors to see which ones are missing from your system and search around to see which packages you'll need to install depending on your distro.
|
The pre-compiled Linux binaries are built on Debian 11, you'll need these packages to build:
|
||||||
|
```
|
||||||
|
sudo apt install build-essential cmake libgtk-3-dev
|
||||||
|
```
|
||||||
|
|
||||||
After that, run:
|
After that, run:
|
||||||
```
|
```
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
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 = "v2.7";
|
pub const P2POOL_VERSION: &str = "v3.0";
|
||||||
pub const XMRIG_VERSION: &str = "v6.18.1";
|
pub const XMRIG_VERSION: &str = "v6.18.1";
|
||||||
pub const COMMIT: &str = include_str!("../.git/refs/heads/main");
|
pub const COMMIT: &str = include_str!("../.git/refs/heads/main");
|
||||||
// e.g: Gupax_v1_0_0
|
// e.g: Gupax_v1_0_0
|
||||||
|
|
12
src/node.rs
12
src/node.rs
|
@ -34,7 +34,7 @@ use hyper::{
|
||||||
// Remote Monero Nodes with ZMQ enabled, sourced from: [https://github.com/hinto-janaiyo/monero-nodes]
|
// Remote Monero Nodes with ZMQ enabled, sourced from: [https://github.com/hinto-janaiyo/monero-nodes]
|
||||||
// The format is an array of tuples consisting of: (IP, LOCATION, RPC_PORT, ZMQ_PORT)
|
// The format is an array of tuples consisting of: (IP, LOCATION, RPC_PORT, ZMQ_PORT)
|
||||||
|
|
||||||
pub const REMOTE_NODES: [(&str, &str, &str, &str); 20] = [
|
pub const REMOTE_NODES: [(&str, &str, &str, &str); 22] = [
|
||||||
("monero.10z.com.ar", "AR - Buenos Aires F.D.", "18089", "18084"),
|
("monero.10z.com.ar", "AR - Buenos Aires F.D.", "18089", "18084"),
|
||||||
("escom.sadovo.com", "BG - Plovdiv", "18089", "18084"),
|
("escom.sadovo.com", "BG - Plovdiv", "18089", "18084"),
|
||||||
("monero2.10z.com.ar", "BR - São Paulo", "18089", "18083"),
|
("monero2.10z.com.ar", "BR - São Paulo", "18089", "18083"),
|
||||||
|
@ -47,18 +47,20 @@ pub const REMOTE_NODES: [(&str, &str, &str, &str); 20] = [
|
||||||
("reynald.ro", "FR - Île-de-France", "18089", "18084"),
|
("reynald.ro", "FR - Île-de-France", "18089", "18084"),
|
||||||
("node2.monerodevs.org", "FR - Occitanie", "18089", "18084"),
|
("node2.monerodevs.org", "FR - Occitanie", "18089", "18084"),
|
||||||
("monero.homeqloud.com", "GR - East Macedonia and Thrace", "18089", "18083"),
|
("monero.homeqloud.com", "GR - East Macedonia and Thrace", "18089", "18083"),
|
||||||
|
("home.allantaylor.kiwi", "NZ - Canterbury", "18089", "18083"),
|
||||||
("ru.poiuty.com", "RU - Kuzbass", "18081", "18084"),
|
("ru.poiuty.com", "RU - Kuzbass", "18081", "18084"),
|
||||||
|
("node-01-xmr.godevs.cloud", "SG - Singapore", "18089", "18083"),
|
||||||
|
("node-02-xmr.godevs.cloud", "SG - Singapore", "18089", "18083"),
|
||||||
("radishfields.hopto.org", "US - Colorado", "18081", "18084"),
|
("radishfields.hopto.org", "US - Colorado", "18081", "18084"),
|
||||||
("xmrbandwagon.hopto.org", "US - Colorado", "18081", "18084"),
|
("xmrbandwagon.hopto.org", "US - Colorado", "18081", "18084"),
|
||||||
("xmr.spotlightsound.com", "US - Kansas", "18081", "18084"),
|
("xmr.spotlightsound.com", "US - Kansas", "18081", "18084"),
|
||||||
("xmrnode.facspro.net", "US - Nebraska", "18089", "18084"),
|
("xmrnode.facspro.net", "US - Nebraska", "18089", "18084"),
|
||||||
("moneronode.ddns.net", "US - Pennsylvania", "18089", "18084"),
|
("moneronode.ddns.net", "US - Pennsylvania", "18089", "18084"),
|
||||||
("node.richfowler.net", "US - Pennsylvania", "18089", "18084"),
|
("node.richfowler.net", "US - Pennsylvania", "18089", "18084"),
|
||||||
("bunkernet.ddns.net", "ZA - Western Cape", "18089", "18084"),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pub const REMOTE_NODE_LENGTH: usize = REMOTE_NODES.len();
|
pub const REMOTE_NODE_LENGTH: usize = REMOTE_NODES.len();
|
||||||
pub const REMOTE_NODE_MAX_CHARS: usize = 24; // monero1.heitechsoft.com
|
pub const REMOTE_NODE_MAX_CHARS: usize = 25; // node-01-xmr.godevs.cloud
|
||||||
|
|
||||||
pub struct RemoteNode {
|
pub struct RemoteNode {
|
||||||
pub ip: &'static str,
|
pub ip: &'static str,
|
||||||
|
@ -211,7 +213,7 @@ pub fn format_ip_location(og_ip: &str, extra_space: bool) -> String {
|
||||||
"??? | ???".to_string()
|
"??? | ???".to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
// monero1.heitechsoft.com = 24 max length
|
// node-01-xmr.godevs.cloud = 25 max length
|
||||||
pub fn format_ip(ip: &str) -> String {
|
pub fn format_ip(ip: &str) -> String {
|
||||||
match ip.len() {
|
match ip.len() {
|
||||||
1 => format!("{} ", ip),
|
1 => format!("{} ", ip),
|
||||||
|
@ -236,6 +238,8 @@ pub fn format_ip(ip: &str) -> String {
|
||||||
20 => format!("{} ", ip),
|
20 => format!("{} ", ip),
|
||||||
21 => format!("{} ", ip),
|
21 => format!("{} ", ip),
|
||||||
22 => format!("{} ", ip),
|
22 => format!("{} ", ip),
|
||||||
|
23 => format!("{} ", ip),
|
||||||
|
24 => format!("{} ", ip),
|
||||||
_ => format!("{}", ip),
|
_ => format!("{}", ip),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue