You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the core.ps1 file so that it now supports a PercentToSwitch input parameter. This parameter makes it so that at the end of each interval, a new algorithm is only switched to if it is more profitable by a certain percentage (PercentToSwitch) over the current best algorithm. A number of other algo-switching programs support this feature and I thought it might be nice to have.
This is my first time writing anything in Powershell so it might not be the best, but could something like this be implemented in a future version of your program? This is also my first time using GitHub so I'm not sure if there is a better way for me to share my code.
The code I added was a change to the foreach () method around line 535 and a change to the input parameters at the beginning. I have the code I changed pasted below and the modified core.ps1 file attached.
That's why the percent difference is adjustable. I mine primarily to PPLNS payment system pools and constantly switching algos for a few cents more profitability can end up actually hurting profits. Thank you very much for including it!
I modified the core.ps1 file so that it now supports a PercentToSwitch input parameter. This parameter makes it so that at the end of each interval, a new algorithm is only switched to if it is more profitable by a certain percentage (PercentToSwitch) over the current best algorithm. A number of other algo-switching programs support this feature and I thought it might be nice to have.
This is my first time writing anything in Powershell so it might not be the best, but could something like this be implemented in a future version of your program? This is also my first time using GitHub so I'm not sure if there is a better way for me to share my code.
The code I added was a change to the foreach () method around line 535 and a change to the input parameters at the beginning. I have the code I changed pasted below and the modified core.ps1 file attached.
The foreach () changes:
The input parameter changes:
core.zip
The text was updated successfully, but these errors were encountered: