- Update xmrig and p2pool only if bundle button is checked.
- Default value for bundle button depends of bundle or standalone version.
- Ask user to restart Gupaxx after updating.
- Prevent user to update twice without restart.
### Internal
- Bump deps
- Update CI to produce different Gupaxx binary for standalone and bundle version.
- Update tools release to include different default value depending of standalone and bundle version.
- Use bundled XMRig and P2Pool of Gupaxx instead of upstream version.
- Update test
### Doc
- Update DIFFERENCES and ARCHITECTURE to reflect updates differences.
## Fixes
- fix temporary directories of updates not deleted introduced in fork
- fix https://github.com/Cyrix126/gupaxx/issues/3
- fix https://github.com/Cyrix126/gupaxx/issues/4
- fix https://github.com/Cyrix126/gupaxx/issues/5
## Notes
### Do not use built in updates to upgrade to this version
This update bump the 1.x.0 number, which would mean breaking changes. However, it is only because updating previously from Gupaxx (in =<1.0.0)withoutmanuallydownloadingfromgithubreleasewouldupgradeP2PoolandXMRigfromupstream,whichisabehaviourthathasbeenmodifiedinthisrelease.
No configuration file change is needed, just update from github for this release.
This version is only made for testing purposes and have feedbacks.
## Changes
### User interface
Indicator with countdown for algorithm.
Hero mode button active on next decision of algorithm without restart.
Add info if algorithm decision is made with hero mode selected.
Text on hover improvements for token input.
Better displaying info about HR relative to algorithm on console output
Add info if algorithm is waiting for XMRig average HR.
### Internal
Use HTTP client default retry
Bump deps versions
#### XvB process
Immediately start algorithm when possible without delay.
Will retrieve public and private stats just before algorithm rerun, so decision is based on last data.
Algorithm takes longest average HR of XMRig depending on what's available (instead of depending of the number of run of the algorithm).
#### Manage lost connection of XvB nodes
Continue XvB partially if XvB nodes fails instead of stopping.
Make XMRig go back to P2Pool if needed after XvB nodes fail.
Check continuously if XvB nodes came online after fail.
Auto reload XvB process if XvB nodes came online.
#### P2pool
Retrieve current shares as soon as p2pool process is synced.
### Code Organization
Separate XvB process into submodules.
Simplify code for XvB process.
Put tests into own file.
Update test to take into account margin on XvB side.
## Fixes
Winner was not recognized.
Did not take into account scale of sent sidechain P2Pool HR.
Last hour average HR sent kept only one sample.
Multiple instance of algorithm ran in parallel under some conditions.
XMRig config was updated when not needed, even for 0 seconds.
Calculation of time needed to send minimum HR for round type was sending all spared HR less outside XvB HR instead of just minimum HR for round type less oHR.
Calculation of current round type was only looking if value was more than minimum required when it should look if value is more or equal (very few chances to have exactly equal HR but was noticed with the units test).