Skip to content

Commit

Permalink
Update SRBMinerMulti-v0.7.1.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessGuru committed Apr 3, 2021
1 parent 0a42d38 commit 5b6c0c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OptionalMiners/SRBMinerMulti-v0.7.1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ If ($AlgorithmDefinitions = $AlgorithmDefinitions | Where-Object MinerSet -LE $C

$Arguments = $_.Arguments
$MinMemGB = $_.MinMemGB
If ($_.Algorithm -eq "VertHash") {
If ($_.Type -eq "CPU") {
$WarmupTime = 15 # Seconds, max. wait time until first data sample
}
ElseIf ($_.Algorithm -eq "VertHash") {
$WarmupTime = 45 # Seconds, max. wait time until first data sample, allow extra time to build verthash.dat
}
ElseIf ($Pools.($_.Algorithm).DAGSize -gt 0) {
$MinMemGB = (3GB, ($Pools.($_.Algorithm).DAGSize + $DAGmemReserve) | Measure-Object -Maximum).Maximum / 1GB # Minimum 3GB required
$WarmupTime = 30 # Seconds, max. wait time until first data sample
}
ElseIf ($_.Type -eq "CPU") {
$WarmupTime = 15 # Seconds, max. wait time until first data sample
}
Else {
$WarmupTime = 0 # Seconds, max. wait time until first data sample
}
Expand Down

0 comments on commit 5b6c0c4

Please sign in to comment.