Bitcoin Forum
April 23, 2024, 10:12:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to calculate litecoin difficulty  (Read 606 times)
kujaff (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


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
1713867155
Hero Member
*
Offline Offline

Posts: 1713867155

View Profile Personal Message (Offline)

Ignore
1713867155
Reply with quote  #2

1713867155
Report to moderator
1713867155
Hero Member
*
Offline Offline

Posts: 1713867155

View Profile Personal Message (Offline)

Ignore
1713867155
Reply with quote  #2

1713867155
Report to moderator
1713867155
Hero Member
*
Offline Offline

Posts: 1713867155

View Profile Personal Message (Offline)

Ignore
1713867155
Reply with quote  #2

1713867155
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713867155
Hero Member
*
Offline Offline

Posts: 1713867155

View Profile Personal Message (Offline)

Ignore
1713867155
Reply with quote  #2

1713867155
Report to moderator
1713867155
Hero Member
*
Offline Offline

Posts: 1713867155

View Profile Personal Message (Offline)

Ignore
1713867155
Reply with quote  #2

1713867155
Report to moderator
Okele
Newbie
*
Offline Offline

Activity: 19
Merit: 0


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 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!