mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 15:32:24 +00:00
Merge pull request #6804
5498142
rpc: assume randomx from v13 onwards (moneromooo-monero)
This commit is contained in:
commit
9c9c689db4
1 changed files with 2 additions and 2 deletions
|
@ -1306,8 +1306,8 @@ namespace cryptonote
|
||||||
case 1: res.pow_algorithm = "CNv1 (Cryptonight variant 1)"; break;
|
case 1: res.pow_algorithm = "CNv1 (Cryptonight variant 1)"; break;
|
||||||
case 2: case 3: res.pow_algorithm = "CNv2 (Cryptonight variant 2)"; break;
|
case 2: case 3: res.pow_algorithm = "CNv2 (Cryptonight variant 2)"; break;
|
||||||
case 4: case 5: res.pow_algorithm = "CNv4 (Cryptonight variant 4)"; break;
|
case 4: case 5: res.pow_algorithm = "CNv4 (Cryptonight variant 4)"; break;
|
||||||
case 6: case 7: res.pow_algorithm = "RandomX"; break;
|
case 6: case 7: case 8: case 9: res.pow_algorithm = "RandomX"; break;
|
||||||
default: res.pow_algorithm = "I'm not sure actually"; break;
|
default: res.pow_algorithm = "RandomX"; break; // assumed
|
||||||
}
|
}
|
||||||
if (res.is_background_mining_enabled)
|
if (res.is_background_mining_enabled)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue