Skip to content

Commit

Permalink
progpow_quai -> progpow-quai
Browse files Browse the repository at this point in the history
  • Loading branch information
luminousmining committed Jan 14, 2025
1 parent 26e4d38 commit 13fee47
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
12 changes: 12 additions & 0 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ miner.exe^
--ssl=false
```

## PROGPOW QUAI
```bat
miner.exe^
--host="quai.luckypool.io"^
--port=3333^
--wallet="YOUR_WALLET"^
--algo="progpow-quai"^
--workername="luminousminer"^
--password="x"^
--ssl=false
```

## FIROPOW
```bat
miner.exe^
Expand Down
3 changes: 3 additions & 0 deletions POOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ cloreai `miner --host=fr.vipor.net --port=5030 --algo="kawpow" --wallet=YOUR_WAL

## evrpool
evrprogpow `miner --host=eu.evrpool.com --port=1111 --algo="evrprogpow" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`

## LuckyPool
progpow-quai `miner --host=quai.luckypool.io --port=3333 --algo="progpow-quai" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
1 change: 1 addition & 0 deletions setup/hiveos/h-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Check if algo is supported
[[ ${CUSTOM_ALGO} != "progpow" ]] &&
[[ ${CUSTOM_ALGO} != "progpowz" ]] &&
[[ ${CUSTOM_ALGO} != "progpow-quai" ]] &&
[[ ${CUSTOM_ALGO} != "evrprogpow" ]] &&
[[ ${CUSTOM_ALGO} != "kawpow" ]] &&
[[ ${CUSTOM_ALGO} != "firopow" ]] &&
Expand Down
4 changes: 2 additions & 2 deletions sources/algo/algo_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ std::string algo::toString(algo::ALGORITHM const algorithm)
case algo::ALGORITHM::MEOWPOW: { return "meowpow"; }
case algo::ALGORITHM::FIROPOW: { return "firopow"; }
case algo::ALGORITHM::EVRPROGPOW: { return "evrprogpow"; }
case algo::ALGORITHM::PROGPOWQUAI: { return "progpow_quai"; }
case algo::ALGORITHM::PROGPOWQUAI: { return "progpow-quai"; }
case algo::ALGORITHM::AUTOLYKOS_V2: { return "autolykosv2"; }
case algo::ALGORITHM::BLAKE3: { return "blake3"; }
case algo::ALGORITHM::UNKNOW: { return "unknow"; }
Expand All @@ -35,7 +35,7 @@ algo::ALGORITHM algo::toEnum(
else if (algo == "meowpow") { return algo::ALGORITHM::MEOWPOW; }
else if (algo == "firopow") { return algo::ALGORITHM::FIROPOW; }
else if (algo == "evrprogpow") { return algo::ALGORITHM::EVRPROGPOW; }
else if (algo == "progpow_quai") { return algo::ALGORITHM::PROGPOWQUAI; }
else if (algo == "progpow-quai") { return algo::ALGORITHM::PROGPOWQUAI; }
else if (algo == "autolykosv2") { return algo::ALGORITHM::AUTOLYKOS_V2; }
else if (algo == "blake3") { return algo::ALGORITHM::BLAKE3; }

Expand Down
4 changes: 2 additions & 2 deletions sources/algo/tests/algo_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TEST_F(AlgoTypeTest, stringToEnumSuccess)
EXPECT_EQ(algo::toEnum("meowpow"), algo::ALGORITHM::MEOWPOW);
EXPECT_EQ(algo::toEnum("firopow"), algo::ALGORITHM::FIROPOW);
EXPECT_EQ(algo::toEnum("evrprogpow"), algo::ALGORITHM::EVRPROGPOW);
EXPECT_EQ(algo::toEnum("progpow_quai"), algo::ALGORITHM::PROGPOWQUAI);
EXPECT_EQ(algo::toEnum("progpow-quai"), algo::ALGORITHM::PROGPOWQUAI);
EXPECT_EQ(algo::toEnum("autolykosv2"), algo::ALGORITHM::AUTOLYKOS_V2);
EXPECT_EQ(algo::toEnum("blake3"), algo::ALGORITHM::BLAKE3);

Expand All @@ -41,7 +41,7 @@ TEST_F(AlgoTypeTest, stringToEnumFail)
EXPECT_NE(algo::toEnum("firopow"), algo::ALGORITHM::KAWPOW);
EXPECT_NE(algo::toEnum("firopow"), algo::ALGORITHM::MEOWPOW);
EXPECT_NE(algo::toEnum("evrprogpow"), algo::ALGORITHM::FIROPOW);
EXPECT_NE(algo::toEnum("progpow_quai"), algo::ALGORITHM::EVRPROGPOW);
EXPECT_NE(algo::toEnum("progpow-quai"), algo::ALGORITHM::EVRPROGPOW);
EXPECT_NE(algo::toEnum("autolykosv2"), algo::ALGORITHM::EVRPROGPOW);
EXPECT_NE(algo::toEnum("sha256"), algo::ALGORITHM::AUTOLYKOS_V2);
EXPECT_NE(algo::toEnum("autolykosv2"), algo::ALGORITHM::BLAKE3);
Expand Down

0 comments on commit 13fee47

Please sign in to comment.