1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-18 21:22:50 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
pdxwebdev
1298abff80 Merge b108845627 into ecef382326 2024-08-01 15:10:40 -07:00
Matthew Vogel
b108845627 fix yada nonce offset 2024-08-01 15:10:20 -07:00
2 changed files with 5 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ static const CoinInfo coinInfo[] = {
{ Algorithm::RX_WOW, "WOW", "Wownero", 300, 100000000000, MAGENTA_BG_BOLD(WHITE_BOLD_S " wownero ") },
{ Algorithm::RX_0, "ZEPH", "Zephyr", 120, 1000000000000, BLUE_BG_BOLD( WHITE_BOLD_S " zephyr ") },
{ Algorithm::RX_0, "Townforge","Townforge", 30, 100000000, MAGENTA_BG_BOLD(WHITE_BOLD_S " townforge ") },
{ Algorithm::RX_YADA, "YDA", "YadaCoin", 120, 100000000, BLUE_BG_BOLD( WHITE_BOLD_S " yadacoin ") },
{ Algorithm::RX_YADA, "YDA", "YadaCoin", 120, 100000000, BLUE_BG_BOLD( WHITE_BOLD_S " yada ") },
};

View File

@@ -180,7 +180,10 @@ int32_t xmrig::Job::nonceOffset() const
auto f = algorithm().family();
if (f == Algorithm::KAWPOW) return 32;
if (f == Algorithm::GHOSTRIDER) return 76;
if (f == Algorithm::RX_YADA) return 147;
auto id = algorithm().id();
if (id == Algorithm::RX_YADA) return 147;
return 39;
}