mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-04-04 05:29:11 +00:00
feat: algo better output of calculation in logs
This commit is contained in:
parent
cc7301d9c3
commit
1ded27995c
1 changed files with 2 additions and 1 deletions
|
@ -197,7 +197,8 @@ impl<'a> Algorithm<'a> {
|
|||
stats,
|
||||
};
|
||||
// external XvB HR is taken into account with get_target_donation_hashrate so the needed time is calculating how much time is needed from local sparable HR only
|
||||
new_instance.stats.target_donation_hashrate = new_instance.get_target_donation_hashrate();
|
||||
new_instance.stats.target_donation_hashrate =
|
||||
new_instance.get_target_donation_hashrate().max(0.0);
|
||||
new_instance.stats.needed_time_xvb = Self::get_needed_time_xvb(
|
||||
new_instance.stats.target_donation_hashrate,
|
||||
new_instance.stats.hashrate_xmrig,
|
||||
|
|
Loading…
Reference in a new issue