tag:blogger.com,1999:blog-2311207784363157312.post945259518238901371..comments2021-10-05T00:33:09.672-07:00Comments on Holy Nerdvana: How to Calculate Coins per Day for Any CryptocurrencyHoly Nerdvanahttp://www.blogger.com/profile/06009581148769951609noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-2311207784363157312.post-5783520226008768212021-04-20T06:43:48.020-07:002021-04-20T06:43:48.020-07:00Can anyone explain how exactly is the (block rewar...Can anyone explain how exactly is the (block reward) number calculated? Any logical explanation of an algorithm? Rashid Cismoskihttps://www.blogger.com/profile/17305993361972036900noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-14646743678556747042014-02-27T09:13:16.999-08:002014-02-27T09:13:16.999-08:00And this is kinda' my point. That ration is t...And this is kinda' my point. That ration is the same for any non-modified scrypt pool (no N-scrypt, maxminer, etc.). And since it is the same across many websites and many coins, there is a reason for it. There is some math behind it and I want to know what it is.Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-77891294724172723372014-02-24T00:40:36.931-08:002014-02-24T00:40:36.931-08:00In my example, I was talking about global average ...In my example, I was talking about global average hashrate and global WU, no about differences among cards. Anyway i think Jon Hall is right, at least this is the behaviour i saw in my rig so many times (now im getting exactly a 0.916 ratio after 72h in the same pool)Anonymoushttps://www.blogger.com/profile/06725463276957763074noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-42175231873432376872014-02-22T13:08:54.946-08:002014-02-22T13:08:54.946-08:00The hashrate given on cgminer and on a pool's ...The hashrate given on cgminer and on a pool's website are both estimates. WU is based on actual shares submitted and is a more stable figure once you let your miner run for a while. If you let your miner run for a day, your WU will hardly change at all while the kh/s will still fluctuate up and down.<br /><br />I'm getting closer to the answers I'm looking for; part of the equation has been rearranged. This article has helped get me started.Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-29554872767566251532014-02-22T10:14:54.838-08:002014-02-22T10:14:54.838-08:00As far as the equation above is concerned, there i...As far as the equation above is concerned, there is no place to include "WU". The equations take difficulty, hash rate, block reward, and the number of seconds you mine into account. WU is none of those items.<br /><br />WU is basically a figure you get from cgminer that represents how many Work Units you are processing per minute, with a WU being somewhat similar to your hash rate. However, your WU values will change if the VARDIFF setting from a pool you mine on changes -- you can see this when you start up cgminer (or bfgminer or whatever) and a pool might start you at a WU difficulty of 16 and then scale that up over the first 5-10 minutes until the WU difficulty is 256, 512, 1024, or in some cases non-powers-of-2 are supported by the pool. So in effect, there's no way to convert WU into hash rate unless you have a static pool difficulty setting -- or you integrate over how long you mine at each difficulty setting I suppose.<br /><br />As noted already, WU represent the accepted work units you have sent to a pool, but it is prone to more variance and "luck" than pure hash rate. Unless you are 100% of a coin's hash rate, you will never have 100% accepted hashes, shares, WUs, or whatever. So the above equations can at best provide the estimate of your income. If you want to multiply by 0.92 to account for stales and such, yes you can do that. But at best your WU rate vs. your hash rate is only going to tell you how "lucky" you have been on this particular coin/pool.<br /><br />And as an aside, this is why shorter block times are actually not a good thing in terms of miner efficiency -- people don't have nearly as many stales/work restarts on coins like BTC, LTC, VTC as they do on a coin with a 30 second block target. And when a new coin is launched with a "bad" starting difficulty, the first several hundred or even several thousand blocks can be mined in a matter of minutes, with 99% of your work being "stale" due to the too-short block times. So nearly everything ends up as an orphan until the difficulty reaches a suitable level to stabilize things.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-60956342663650063832014-02-22T03:25:07.095-08:002014-02-22T03:25:07.095-08:00"[WU] doesn't really have any useful mean..."[WU] doesn't really have any useful meaning" This is incorrect. If you let cgminer run for a while, WU can be used as a better estimate of your kh/s. It runs about .92 of the kh/s that cgminer shows (disregarding units). This is the reason I wanted the units for WU...to determine what the ratio should be to a more accurate degree.Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-19673076836634665782014-02-21T08:57:48.720-08:002014-02-21T08:57:48.720-08:00If they're both on the same pool, same type of...If they're both on the same pool, same type of GPU, same everything... well, sometimes there's still variance. It just happens as part of the way things work in my book. The primary GPU also seems to often run slower (as it has to run the Windows UI among other things), so keep that in mind.<br /><br />I have a 3-way rig running 7950 as an example, and right now GPU 0 is showing 3.05 U/m while GPUs 0/1 show 3.25/3.23 U/m. They're all running on the same pool, with the same instance of cgminer. GPU0 actually has higher clocks (1000/1475), while GPU1 is 975/1475 and GPU2 is 950/1425. So GPU2 is doing 5.9% more U/m after more than a day of mining, while GPU0 actually has 5.3% higher core clock and 3.5% higher RAM clock. And if I change the clocks on GPU0 to match GPU2, performance of GPU0 will drop even more.<br /><br />TL;DR: Don't get too hung up on variance between GPUs of 5%, as it's just the way things go with mining.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-11785404444449033842014-02-21T00:39:27.466-08:002014-02-21T00:39:27.466-08:00Yes, but im not talking about differents pools or ...Yes, but im not talking about differents pools or coins or rigs. A real example: in the same pool, im playing with overclock, and sometimes get more kh/s but less wu (with enough running time to mitigate luck factor, 12h or even better 24h), i thought a higher WU was always better in this scenario, i'm wrong?Anonymoushttps://www.blogger.com/profile/06725463276957763074noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-78915709627976380222014-02-20T13:48:29.177-08:002014-02-20T13:48:29.177-08:00Well, they should be more or less equivalent, prov...Well, they should be more or less equivalent, provided they're on the same pool. Let me give you an example:<br /><br />System 1: 1.366 MH/s, 1251 WU/m<br />System 2: 0.299 MH/s, 265 WU/m<br /><br />System 1 is more efficient (915 WU per MH vs. 886 WU per MH), but since it's faster that would make sense -- it gets work restarts a bit less frequently. But if you're on different pools, the value of a WU may not be the same. Definitely don't try looking at units (U), though, as most pools with vardiff try to get to roughly the same Units per minute -- this is how many "getwork" requests your system sends. So I suppose my initial answer wasn't entirely accurate, but optimizing for WU/m is a bit difficult as it's usually dependent on many factors -- pool, coin, block target time, etc.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-44815331336212533072014-02-20T12:52:17.505-08:002014-02-20T12:52:17.505-08:00Wait wait...then WU value doesn't matter? Test...Wait wait...then WU value doesn't matter? Testing settings, is better more kh/s than wu? I have read that a high WU value is the most important target, even if you need to low the kh/s, in so many sites/blogs/forums...I'm so confused right now :SAnonymoushttps://www.blogger.com/profile/06725463276957763074noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-22519577597445979012014-02-20T12:37:11.723-08:002014-02-20T12:37:11.723-08:00Well, it's basically a minimum difficulty sett...Well, it's basically a minimum difficulty setting. We're dealing with 256-bit numbers, so take the maximum value you can represent with 256 bits (2^256) and divide that by0xFFFF (+ 52 zeroes) and we get 4295032833 (and a few decimals that aren't worth mentioning). Given that we're targeting "hashes per block" with the difficulty, that means a difficulty of 0.000000000233 would result in you generating [reward] * [hash rate] coins per second. If difficulty on the other hand is 1.0, then you need to perform around 4,295,032,833 hashes per block, so at 1MHash/sec it would take around 1.19 hours on average per block. Basically, it's a scaling factor.<br /><br />Why not just use difficulty on its own and forget about this scaling factor? No idea -- part of me just thinks it's because the programmers like being "clever". In the case of Litecoin, of course, it works out that your hash rate in KHash/s divided by difficulty currently estimates your number of LTC per day.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-18611434230842282942014-02-20T12:23:47.298-08:002014-02-20T12:23:47.298-08:00I'm a real formulas kinda' guy. When I se...I'm a real formulas kinda' guy. When I see something like this I want to know how it was put together, and have a real talent for understanding formulas. 2^256/0xFFF[52 zeroes] means something, I just haven't figured out what that is. I'm probably going to have to get a good cryptography book to understand it to my satisfaction. Know of any good ones?Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-59344784431824644832014-02-19T21:00:20.004-08:002014-02-19T21:00:20.004-08:00WU is simply something you get from cgminer and ot...WU is simply something you get from cgminer and other software, and it doesn't really have any useful meaning. A pool can give out units of work that are easier or more difficult based on your hardware speed. This is called "vardiff" -- variable difficulty. The idea is to not use any more network bandwidth or server resources than necessary, so a fast system will get something like 1024 difficulty shares while a slow system might get 16 difficulty shares. One diff 1024 share is worth 64 difficulty 16 shares, and if the hardware in the one system is 64 times as fast then both systems will complete one work unit in about the same time.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-61810190958383080292014-02-19T20:57:31.941-08:002014-02-19T20:57:31.941-08:00Don't think in shares or units -- those are on...Don't think in shares or units -- those are only figures you'd get from a mining pool. I believe if we put units to everything:<br /><br />Time = second<br />Reward = coins / block<br />Hash Rate = hashes / second<br />Difficulty = hashes / block<br /><br />So it would be:<br /><br />t [seconds] * r [coins] / [block] * h [hash] / [seconds]<br />----------------------------------------------------------------------------<br />d [hash] / [block] * z<br /><br />When you cancel all the units out, you're left with coins. The only oddity is that "z" -- the big number that's basically used to scale the difficulty by 4295032833. This is one of those "what is this number?" things, that's not really documented in the code, but presumably it's a value chosen that makes the scaling work. Maximum difficulty is something like 2^220 incidentally (meaning, difficulty times that scaling factor needs to be able to fit in the 256-bit integer).Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-37452781796090888032014-02-18T22:40:51.868-08:002014-02-18T22:40:51.868-08:00On a related subject to my question, does WU have ...On a related subject to my question, does WU have units besides just 'per second'?Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-87255687212615624702014-02-18T22:33:37.321-08:002014-02-18T22:33:37.321-08:00I am trying to understand this formula with units,...I am trying to understand this formula with units, as adding units would greatly increase my understanding of how this works. I think that 1 share = 1 block reward. Is that correct?<br />That would make the units on top ‘seconds’, ‘coins/share’ and ‘hashes/second’.<br />The bottom looks tricky. . If I understand it correctly, there are 2^256 hashes per share, with one share equaling the block reward. The number 2^256 would be the number of hashes required for a share, so ‘hashes/share’. Do the numbers for ‘difficulty’ and ‘0xFFFF[52 zeroes]’ have units that cancel? Or are they just used as a constant to keep the block time the same? Or perhaps I am missing or misinterpreting part of this.<br />Anonymoushttps://www.blogger.com/profile/10952311921545880196noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-40669002048287088062014-02-17T22:47:25.857-08:002014-02-17T22:47:25.857-08:00The BTC rate is whatever the best exchange rate is...The BTC rate is whatever the best exchange rate is for the coin, so you need to look at the various exchanges -- BTER, BTC-E, CoinedUp, CoinMarket.io, CryptoRush.in, Cryptsy, etc.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-39022057700384279762014-02-17T21:39:14.538-08:002014-02-17T21:39:14.538-08:00Jarred, what is the BTC rate? Trying to crunch num...Jarred, what is the BTC rate? Trying to crunch numbers for my upcoming 4x MSI R9 290 rig...<br /><br />I found all the other numbers alright I think. Found current difficulty of VTC on cryptocoincharts to be 88.983...Pedro Yamamotohttps://www.blogger.com/profile/16966376758429573649noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-3487181151584039042014-02-16T14:37:34.797-08:002014-02-16T14:37:34.797-08:00Looks like that pool is about dead? Anyway, if you...Looks like that pool is about dead? Anyway, if you took the pool hash rate and use the calculator, you can determine how many coins per day the pool should find. Then take your percentage of the pool's rate (minus pool fees, where applicable) and you get the number of coins you should receive from the pool.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-75638322113105153462014-02-16T13:41:22.742-08:002014-02-16T13:41:22.742-08:00I'm still holding mine, as the price is still ...I'm still holding mine, as the price is still trending up, but C-CEX is where I monitor the DRK price, but you can also trade on Poloniex: https://www.poloniex.com/exchange/btc_drkHoly Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-49461211809905306472014-02-14T21:18:50.869-08:002014-02-14T21:18:50.869-08:00edit: not total poolrate, but total net rateedit: not total poolrate, but total net rategpsonhttps://www.blogger.com/profile/00392436137021336225noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-23521882791757160672014-02-14T15:36:36.086-08:002014-02-14T15:36:36.086-08:00"seconds" is how long you mine and the e..."seconds" is how long you mine and the equation calculates the expected reward for that time. Of course, if you mine solo you only get a full block reward or nothing, so the equation is an estimate of the chances of you finding a block.<br /><br />So with Maxcoin, current difficulty is 101625, and the block reward is 92. With a system producing 1000 MHash of keccak mining performance, you would on average find 18.2 MAX per day. But you can't if you're mining solo, so instead you would statistically find a block of 92 coins solo mining every 5.055 days -- except statistically, you'll probably average out to lower than that as pools are more likely to find the blocks with their superior hashing numbers, so maybe you find a block every six days.<br /><br />You get those numbers from my calculator, which hard-codes in 86400 seconds. If you were to mine MAX for only one second, you would earn 0.000211 MAX in theory... or your chances of finding a block of 92 MAX mining with 1000 MHash for one second are 1 in 436747 (give or take). In other words, mine for 436747 seconds with 1000 MHash and statistically you should find one block. If we could free the network hash rate (and thus difficulty), over the course of a year that would average out just about right. On a day-to-day basis "luck" is a factor, but long-term it should even out.Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-63050244227883926252014-02-14T13:44:31.584-08:002014-02-14T13:44:31.584-08:00http://rav3n.dtdns.net:9166/http://rav3n.dtdns.net:9166/gpsonhttps://www.blogger.com/profile/00392436137021336225noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-87942511273701487782014-02-14T10:59:54.231-08:002014-02-14T10:59:54.231-08:00Sorry, still no sense at all. What is "second...Sorry, still no sense at all. What is "seconds"? Time to solving a block? Time to retarget diff? Why do you hard-coded 86400 seconds? That's a day duration, nothing to do with any coin, block time or anything. Could you please give us a *SPECIFIC* example using your ecuation, Maxcoin for example?Taxidermistahttps://www.blogger.com/profile/09887485087933329112noreply@blogger.comtag:blogger.com,1999:blog-2311207784363157312.post-78798559104845252452014-02-14T09:18:43.754-08:002014-02-14T09:18:43.754-08:00The current block reward for LEAF is 1-500000 (it ...The current block reward for LEAF is 1-500000 (it dropped from 1-1000000 at block 15001), so on average the reward will be around 250K. However, there's luck involved so you could get poor rewards averaging 200K for a day, especially when looking at just one pool, and if the pool gets doubly unlucky and only finds 60% of the expected blocks in a day you end up with some bad days.<br /><br />The past 24 hours LEAF has average 44 difficulty, so with 3MHash you'd expect ~342890 LEAF mined. But subtract 2% pool fees, add in 20% bad luck for rewards, and another 25% bad luck for your pool for the day, and you'd end up with around 200K LEAF instead. What's your pool, and what's the pool hash rate?Holy Nerdvanahttps://www.blogger.com/profile/06009581148769951609noreply@blogger.com