From 2976c0f5ec9f4296fbe7684a30aeadd98a9bb991 Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Mon, 24 Jun 2024 10:05:59 +0200 Subject: [PATCH] update status idea xmrig-proxy integration --- IDEAS.md | 1 + NOTES_XMRIG-PROXY.md | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 NOTES_XMRIG-PROXY.md diff --git a/IDEAS.md b/IDEAS.md index 7f69f6f..56550db 100644 --- a/IDEAS.md +++ b/IDEAS.md @@ -47,6 +47,7 @@ For advanced users, a CLI could be made to use the algorithm without a GUI It would allow the user to do automation and installation on headless environment and save a few HR from the Gupaxx process. This CLI would still offer a way to the user to pass options to xmrig and to start his p2pool server or to use another one already running. #### Integrate XMRig-Proxy +started by [Cyrix](https://github.com/Cyrix126) The algorithm of distribution of HR can't control HR outside of his instance. It must estimate external HR, which can be approximative. If a user control multiples miners, it could connect all of them to a xmrig-proxy instance. diff --git a/NOTES_XMRIG-PROXY.md b/NOTES_XMRIG-PROXY.md new file mode 100644 index 0000000..208fca0 --- /dev/null +++ b/NOTES_XMRIG-PROXY.md @@ -0,0 +1,40 @@ +# Integration of Xmrig-Proxy + +## Objective + +Allows a user to point his miners on the Gupaxx instance. + +1/ to have the sum of the HR in his stats + +2/ to let the algorithm of distribution of HR controls the HR of all the external miners. + +## UI implementation + +It is not useful to someone who have only one miner, so it needs to be manually enabled. + + +Tab to start Xmrig-Proxy, interact with console output and give custom options. +Message on Xmrig tab indicating xmrig is automatically redirected to it. +Local ip will be displayed. +Button to fetch public ip to know at which one to point miner at. + +Status column of xmrig is replaced by xmrig-proxy when it is enabled. +Xmrig-proxy will display stats for each miners. + +## Technical implementation + +xmrig-proxy will mine on p2pool instead of xmrig. +When xmrig-proxy is enabled, xmrig is automatically redirected to it instead of p2pool. +XvB algo will check if xmrig-proxy is enabled and watch/control his data instead. + +## TODO + +- [x] State +- [x] Helper thread +- [x] impl Helper +- [x] UI +- [x] interaction with xmrig +- [ ] advanced tls, keep alive, ip port +- [ ] info about ip and firewall +- [ ] status tab +- [ ] interaction with xvb