Bitcoin Forum
December 16, 2017, 01:50:58 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to calculate litecoin difficulty  (Read 499 times)
kujaff
Newbie
*
Offline Offline

Activity: 2


View Profile
February 08, 2014, 02:19:17 PM
 #1

Hi Smiley

I'm trying to use the litecoind daemon, to get some litecoin infos. Like the difficulty Smiley

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 ! Grin
1513432258
Hero Member
*
Offline Offline

Posts: 1513432258

View Profile Personal Message (Offline)

Ignore
1513432258
Reply with quote  #2

1513432258
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513432258
Hero Member
*
Offline Offline

Posts: 1513432258

View Profile Personal Message (Offline)

Ignore
1513432258
Reply with quote  #2

1513432258
Report to moderator
Okele
Newbie
*
Offline Offline

Activity: 19


View Profile
February 09, 2014, 09:27:07 AM
 #2

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.

kujaff
Newbie
*
Offline Offline

Activity: 2


View Profile
February 11, 2014, 05:10:25 PM
 #3

Hi, and thanks for your answer Smiley

But my problem is to calculate the "Difficlty" part of your formula.
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
February 11, 2014, 06:02:01 PM
 #4

Hi, and thanks for your answer Smiley

But my problem is to calculate the "Difficlty" part of your formula.

See here: https://en.bitcoin.it/wiki/Difficulty

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!