Skip to content

Commit

Permalink
submit
Browse files Browse the repository at this point in the history
  • Loading branch information
luminousmining committed Jan 30, 2025
1 parent ff74858 commit c4c7f47
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions POOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ethash `miner --host=pool.eu.woolypooly.com --port=3096 --algo="ethash" --wallet
etchash `miner --host=pool.eu.woolypooly.com --port=35000 --algo="etchash" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
ergo `miner --host=pool.eu.woolypooly.com --port=3100 --algo="autolykosv2" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
alephium `miner --host=pool.eu.woolypooly.com --port=3106 --algo="blake3" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
progpow-z `miner --stratum="ethproxy" --host=pool.eu.woolypooly.com --port=3146 --algo="progpow-z" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`

## Vipor
cloreai `miner --host=fr.vipor.net --port=5030 --algo="kawpow" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
Expand All @@ -28,3 +29,4 @@ evrprogpow `miner --host=eu.evrpool.com --port=1111 --algo="evrprogpow" --wallet

## LuckyPool
progpow-quai `miner --stratum="v2" --host=quai.luckypool.io --port=3333 --algo="progpow-quai" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
progpow-z `miner --stratum="ethproxy" --host=zano.luckypool.io --port=8866 --algo="progpow-z" --wallet=YOUR_WALLET --workername="YOUR_WORKERNAME"`
30 changes: 30 additions & 0 deletions sources/resolver/amd/progpow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,21 @@ void resolver::ResolverAmdProgPOW::submit(
}
case stratum::STRATUM_TYPE::ETHPROXY:
{
std::stringstream nonceHexa;
nonceHexa
<< "0x"
<< std::hex
<< std::setfill('0')
<< std::setw(16)
<< resultShare.nonces[i];

boost::json::array params
{
nonceHexa.str(),
"0x" + algo::toHex(algo::toHash256((uint8_t*)hash))
};

stratum->miningSubmit(deviceId, params);
break;
}
}
Expand Down Expand Up @@ -503,6 +518,21 @@ void resolver::ResolverAmdProgPOW::submit(
}
case stratum::STRATUM_TYPE::ETHPROXY:
{
std::stringstream nonceHexa;
nonceHexa
<< "0x"
<< std::hex
<< std::setfill('0')
<< std::setw(16)
<< resultShare.nonces[i];

boost::json::array params
{
nonceHexa.str(),
"0x" + algo::toHex(algo::toHash256((uint8_t*)hash))
};

stratum->miningSubmit(deviceId, params);
break;
}
}
Expand Down
16 changes: 16 additions & 0 deletions sources/resolver/nvidia/progpow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ void resolver::ResolverNvidiaProgPOW::submit(
<< std::setfill('0')
<< std::setw(16)
<< resultShare.nonces[i];

boost::json::array params
{
nonceHexa.str(),
Expand Down Expand Up @@ -510,6 +511,21 @@ void resolver::ResolverNvidiaProgPOW::submit(
}
case stratum::STRATUM_TYPE::ETHPROXY:
{
std::stringstream nonceHexa;
nonceHexa
<< "0x"
<< std::hex
<< std::setfill('0')
<< std::setw(16)
<< resultShare.nonces[i];

boost::json::array params
{
nonceHexa.str(),
"0x" + algo::toHex(algo::toHash256((uint8_t*)hash))
};

stratum->miningSubmit(deviceId, params);
break;
}
}
Expand Down

0 comments on commit c4c7f47

Please sign in to comment.