update status idea xmrig-proxy integration

This commit is contained in:
Cyrix126 2024-06-24 10:05:59 +02:00
parent 6945227c0c
commit 2976c0f5ec
2 changed files with 41 additions and 0 deletions

View file

@ -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.

40
NOTES_XMRIG-PROXY.md Normal file
View file

@ -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