Title: How to calculate litecoin difficulty Post by: kujaff on February 08, 2014, 02:19:17 PM Hi :)
I'm trying to use the litecoind daemon, to get some litecoin infos. Like the difficulty :) But i don't understand how to read it ... When i call litecoind getdifficultry now, i have "0.09034463", which is not the difficulty shown on litecoin's calculators (near 3507). I've seen a formula here : https://litecoin.info/Difficulty , but i don't understand how to read it ... don't know what "2**32" means (** ??), and how to get "target". Can i get 3507 (current real difficulty) with the daemon directly, or if i can't, how can i get it ? Thanks ! ;D Title: Re: How to calculate litecoin difficulty Post by: Okele on February 09, 2014, 09:27:07 AM As I understand it.
Block Reward/(difficulty*2^32)/(cardhash*1000)/3600/24 Block Reward = the coins reward for finding a block. In the instance of litecoin it's 50. Difficulty = current difficulty, which I believe is 3508 2^32 = 4,294,967,296 cardhash = the khash that your card(s) can do. Like a 280x can do 750 khash/s for example. 1000 = the conversion from khash to hash/s. 3600 = how many seconds are in an hour 24 = how many hours are in a day. so using those examples: 50/(3508*4,294,967,296)/(750*1000)/3600/24 = 50/(15,066,745,274,368)/(750,000)/3600/24)=.22 Litecoin per day. Hope that's what you're looking for. If not someone may get use out of it. Title: Re: How to calculate litecoin difficulty Post by: kujaff on February 11, 2014, 05:10:25 PM Hi, and thanks for your answer :)
But my problem is to calculate the "Difficlty" part of your formula. |