mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-02 20:19:36 +00:00
fix: add missing license notice and fix author
This commit is contained in:
parent
91b4ab1c33
commit
a6ac34594b
54 changed files with 676 additions and 30 deletions
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use egui::{Key, Modifiers};
|
||||
use log::info;
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use egui::{Label, TextEdit, TextStyle, TextWrapMode, Ui};
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use egui::{Hyperlink, Image, Label, Separator, TextStyle, TextWrapMode, Ui};
|
||||
|
||||
use crate::SPACE;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use egui::{Button, ComboBox, RichText, SelectableLabel, TextStyle, Ui};
|
||||
use log::{debug, info};
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
pub mod console;
|
||||
pub mod header_tab;
|
||||
pub mod list_poolnode;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::ops::RangeInclusive;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::app::Tab;
|
||||
use crate::app::eframe_impl::ProcessStatesGui;
|
||||
use crate::app::keys::KeyPressed;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::app::panels::middle::common::console::{console, input_args_field, start_options_field};
|
||||
use crate::app::panels::middle::common::header_tab::header_tab;
|
||||
use crate::app::panels::middle::common::state_edit_field::{path_db_field, slider_state_field};
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::app::panels::middle::common::list_poolnode::{PoolNode, list_poolnode};
|
||||
use crate::app::panels::middle::common::state_edit_field::{StateTextEdit, slider_state_field};
|
||||
use crate::miscs::height_txt_before_button;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
use crate::app::panels::middle::common::console::{console, input_args_field, start_options_field};
|
||||
use crate::disk::state::{P2pool, State};
|
||||
use crate::helper::p2pool::PubP2poolApi;
|
||||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::Arc;
|
||||
use std::sync::Mutex;
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use crate::{app::Benchmark, disk::state::Status, helper::xrig::xmrig::PubXmrigApi};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use egui::{Label, RichText, ScrollArea, SelectableLabel, Separator, Slider, TextStyle};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use egui::{Checkbox, TextStyle, Ui, vec2};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use egui::{Align, Image, RichText, ScrollArea, TextStyle, Ui};
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
pub mod bottom;
|
||||
pub mod middle;
|
||||
pub mod quit_error;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::process::exit;
|
||||
|
||||
use crate::app::eframe_impl::ProcessStateGui;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::app::Tab;
|
||||
use egui::TextStyle;
|
||||
use egui::{ScrollArea, SelectableLabel, Separator, TopBottomPanel, Ui};
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use log::info;
|
||||
|
||||
use crate::errors::ErrorButtons;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupaxx - GUI Uniting P2Pool And XMRig
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
pub mod gupax;
|
||||
pub mod node;
|
||||
pub mod update;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use super::*;
|
||||
//---------------------------------------------------------------------------------------------------- Custom Error [TomlError]
|
||||
#[derive(Debug)]
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use super::*;
|
||||
//---------------------------------------------------------------------------------------------------- Gupax-P2Pool API
|
||||
#[derive(Clone, Debug)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::{app::panels::middle::common::list_poolnode::PoolNode, disk::*};
|
||||
use serde::{Deserialize, Serialize};
|
||||
//---------------------------------------------------------------------------------------------------- [Node] Impl
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::app::panels::middle::common::list_poolnode::PoolNode;
|
||||
|
||||
use super::*;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use derive_more::derive::Display;
|
||||
use strum::{EnumCount, EnumIter};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use enclose::enc;
|
||||
use log::{debug, error, info, warn};
|
||||
use readable::byte::Byte;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use super::Helper;
|
||||
use super::Process;
|
||||
use crate::app::panels::middle::common::list_poolnode::PoolNode;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::helper::XvbNode;
|
||||
use anyhow::Result;
|
||||
use anyhow::anyhow;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use enclose::enc;
|
||||
use log::{debug, error, info, warn};
|
||||
use reqwest::header::AUTHORIZATION;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::XVB_MIN_TIME_SEND;
|
||||
use crate::helper::xrig::xmrig_proxy::PubXmrigProxyApi;
|
||||
use crate::helper::xvb::api_url_xmrig;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::helper::xrig::update_xmrig_config;
|
||||
use crate::helper::xvb::algorithm::algorithm;
|
||||
use crate::helper::xvb::priv_stats::XvbPrivStats;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
time::{Duration, Instant},
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
time::Duration,
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
time::Duration,
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use derive_more::Display;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
17
src/miscs.rs
17
src/miscs.rs
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
//---------------------------------------------------------------------------------------------------- Misc functions
|
||||
|
||||
// Get absolute [Gupax] binary path
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupaxx - GUI Uniting P2Pool And XMRig
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
pub mod constants;
|
||||
pub mod errors;
|
||||
pub mod ferris;
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
//---------------------------------------------------------------------------------------------------- Use
|
||||
use crate::constants::{
|
||||
COMMIT, GUPAX_VERSION, NODE_VERSION, OS_NAME, P2POOL_VERSION, XMRIG_VERSION,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Gupax - GUI Uniting P2Pool And XMRig
|
||||
// Gupaxx - Fork of Gupax
|
||||
//
|
||||
// Copyright (c) 2022-2023 hinto-janai
|
||||
// Copyright (c) 2024-2025 Cyrix126
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Reference in a new issue