Bitcoin Forum
June 22, 2024, 09:18:09 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 20, 2017, 08:46:44 PM
I find that when mining with equihash(zcash), ccminer sometimes(50% chance) get stuck on the same old job even the stratum send out mining.notify with clean jobs = true which cause all the share submitted reject by the stratum. What is the problem?
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: October 19, 2017, 01:41:11 PM
I am a pool operator, and found that there is difficulty multiplier set for different algos in ccminer, may I know what is the reason behind that?

weird question from a pool operator.
a multiplier is applied to stratum diff and may be different from coin to coin.
it's been like that for ages.
usually, a multiplier is set for a hashing algo when the first stratum implementation is made.
it's just a way to allow much easier shares for slow miners (compared to net hashrate).

The difficulty showing in the coin daemon(i.e.,  MaxCoin- Keccak, Digibyte - Scrypt) isn't multiplied. If we apply multiplier there, the difficulty showing in stratum will not be the same as what reporting from the daemon. So we haven't set the multiplier in the stratum pool and that works fine in sgminer. But for ccminer, there is a default multiplier for Keccak. Our pool give 1024 pool difficulty to the miner and ccminer will submit all shares which has difficulty >8. And so the reject rate showing is >99%. If I set multiplier = 128 in the pool for Keccak which is the same as ccminer, this will cause sgminer not submitting shares as it is too difficult for them. Moreover, it may also cause the pool difficulty (~128000) will be larger than network difficulty (~1000).
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: October 19, 2017, 08:27:08 AM
I am a pool operator, and found that there is difficulty multiplier set for different algos in ccminer, may I know what is the reason behind that?

Code:
	switch (opt_algo) {
case ALGO_HMQ1725:
case ALGO_JACKPOT:
case ALGO_JHA:
case ALGO_NEOSCRYPT:
case ALGO_SCRYPT:
case ALGO_SCRYPT_JANE:
work_set_target(work, sctx->job.diff / (65536.0 * opt_difficulty));
break;
case ALGO_DMD_GR:
case ALGO_FRESH:
case ALGO_FUGUE256:
case ALGO_GROESTL:
case ALGO_LBRY:
case ALGO_LYRA2v2:
case ALGO_LYRA2Z:
case ALGO_TIMETRAVEL:
case ALGO_BITCORE:
work_set_target(work, sctx->job.diff / (256.0 * opt_difficulty));
break;
case ALGO_KECCAK:
case ALGO_LYRA2:
work_set_target(work, sctx->job.diff / (128.0 * opt_difficulty));
break;
case ALGO_EQUIHASH:
equi_work_set_target(work, sctx->job.diff / opt_difficulty);
break;
default:
work_set_target(work, sctx->job.diff / opt_difficulty);
}
4  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: Whattomine - profitability website with basic json. on: September 20, 2017, 11:06:46 PM
@fredeq I am mining Gamecredit in MPH and Suprnova.
But there is no this coin in coins endpoint and ASIC endpoint.
Is it possible to make an endpoint to return all coins?
5  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: Whattomine - profitability website with basic json. on: September 20, 2017, 09:19:25 PM
I tried to fetch all coins result in one request. But it seems
https://whattomine.com/coins.json
doesn't return all coins. For example, I can't find DGB-Qubit, Game, etc.
Where can I get all coins in one request to avoid over the rate limit?

Code:
curl http://whattomine.com/coins.json
Forbidden

Also, my server is getting "Forbidden" for any request.
How long does this block will take?
6  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: Whattomine - profitability website with basic json. on: September 19, 2017, 05:43:18 PM
Now, the json is like that:
Code:
{
id: 168,
name: "Hush",
tag: "HUSH",
algorithm: "Equihash",
block_time: "150.0",
block_reward: 12.5,
block_reward24: 12.5,
last_block: 172874,
difficulty: 276856424.28628,
difficulty24: 355234931.858677,
nethash: "3691418.990483733333333333333333333",
exchange_rate: 0.00048704,
exchange_rate24: 0.00048067770212766,
exchange_rate_vol: 22.9608060013601,
exchange_rate_curr: "BTC",
market_cap: "$2,160,255",
pool_fee: "0.000000",
estimated_rewards: "1.322262",
btc_revenue: "0.000644",
revenue: "$2.59",
cost: "$0.86",
profit: "$1.73",
status: "Active",
lagging: false,
timestamp: 1505842430
}

We can pass a param "hr=1" for querying the revenue 1unit of hash power.
some coins are based on Mhs, while some are khs. I hope the json can include the unit of hash so that we can know the revenue is calculated on what unit of hashrate.

Second thing is, I want to do some more deep calculation on each coin's profitability in each pool.
I know the formula is something like
[hashrate] x [rewards] x 86400
-----------------------------------
[diff] x [hashes per diff]

all are the same for each coin, but the hashes per diff is different for each coin.
for example:
most of coins are 2^32
ETH, ETC and XMR are 2^0.
ZEC, ZCL are 2^13.
HUSH is 2^1.
KMD is 2^4.

So it would be kind if you can return the hashes per diff for us for further calculation. I try to search the list in google, but no luck.
Anyway, thanks for your service.
7  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: Whattomine - profitability website with basic json. on: September 19, 2017, 04:21:37 PM
Thanks for your service. It's very useful for us.
I have one suggestion for the improvement.
Could the json return the hashes per diff and the unit of hash?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!