Bitcoin Forum
December 03, 2016, 02:42:18 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: difficulty over time data?  (Read 21814 times)
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 18, 2010, 05:51:46 PM
 #1

Is there downloadable data available showing the Bitcoin difficulty over time.  I'm imagining a CSV file with block number (every 2016) and difficulty.  Something like:

  0,1
  2016,1
  ...
  96768,12252.03471156

Certainly something like this exists, but the closest I've seen is Difficulty vs Time Graph, which actually shows a Price vs Time graph
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 18, 2010, 05:53:38 PM
 #2

Soon after posting, I realized that blockexplorer.com shows the difficulty for each block.  Worst case, I'll go through each 2016th block and note the difficulty and put it in a Google Spreadsheet and post the link here.  If someone's already consolidated the data in one place, let me know.
m0mchil
Full Member
***
Offline Offline

Activity: 171


View Profile
December 18, 2010, 05:54:38 PM
 #3

http://nullvoid.org/bitcoin/difficultiez.php

mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 18, 2010, 07:38:50 PM
 #4

Thanks m0mchil.

For those interested, below is a logarithmic graph of difficulty over time.  Time is represented by block number.  The data fits the following equation with R^2 of .997:

  difficulty = .00165*exp( blockNumber * .000163 )

Might be handy for those calculating the future value of their expensive GPUs Smiley


genjix
Legendary
*
Offline Offline

Activity: 1232


View Profile
December 18, 2010, 07:52:39 PM
 #5

what's the correlation between that graph and the equation you worked out? not sure how to do it for quadratic curves..
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 18, 2010, 10:23:10 PM
 #6

what's the correlation between that graph and the equation you worked out? not sure how to do it for quadratic curves..

The best way I've found is to use Wolfram Alpha.  Here's the equation and correlation covering the last 4 difficulty adjustments.
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 21, 2010, 09:40:16 PM
 #7

I've updated the above chart with the new difficulty as of block 98784
wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
December 22, 2010, 09:02:32 AM
 #8

Is there a block number <-> datetime mapping available?

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 22, 2010, 02:08:26 PM
 #9

Is there a block number <-> datetime mapping available?

The link given above (http://nullvoid.org/bitcoin/difficultiez.php) includes timestamps for all the blocks in which difficulty changed.  For arbitrary blocks, you can use Block Explorer.  For example, block #42000 was generated at 2010-02-22 22:39:33

Would it be helpful to you to have a chart like the one above but with a real time x-axis?  I could generate one fairly easily.
wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
December 22, 2010, 02:23:32 PM
 #10

Would it be helpful to you to have a chart like the one above but with a real time x-axis?  I could generate one fairly easily.
Yes, that's exactly why I asked. I'd personally prefer the x-axis to be time. Although in theory the block generation rate should be fixed, so the picture shouldn't be very different.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
December 22, 2010, 02:54:10 PM
 #11

Here is the same data with the x-axis showing calendar time:

wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
December 22, 2010, 03:25:04 PM
 #12

Thanks! As expected, it indeed looks almost the same as the block#-based one. Interesting.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
February 18, 2011, 03:33:36 PM
 #13

I've updated the above charts to reflect recent difficulty changes.  I'm using the historic difficulty data from http://blockexplorer.com/q/nethash
foxmulder
Jr. Member
*
Offline Offline

Activity: 37


View Profile
March 25, 2011, 10:46:14 PM
 #14

is the any new updated chart for future estimation(range to 1 month-1 year)?

Please  donate me : 1Cxa2JZ1CE4DUSLtg3j7xaNBNiqjbjQtcG

Die hard x-files fans should use bitcoin, like mulder's says "Bitcoin is out there!".
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
March 25, 2011, 11:08:48 PM
 #15

I don't make any prediction about the future, but you may see some useful patterns on my site with network speed and difficulty graphs: http://bitcoin.sipa.be

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
mndrix
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447


View Profile
March 26, 2011, 12:28:02 AM
 #16

I'm no longer updating my graphs above because sipa's are better
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!