Bitcoin Forum
March 29, 2024, 01:55:25 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: difficulty over time data?  (Read 24874 times)
mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711677325
Hero Member
*
Offline Offline

Posts: 1711677325

View Profile Personal Message (Offline)

Ignore
1711677325
Reply with quote  #2

1711677325
Report to moderator
1711677325
Hero Member
*
Offline Offline

Posts: 1711677325

View Profile Personal Message (Offline)

Ignore
1711677325
Reply with quote  #2

1711677325
Report to moderator
1711677325
Hero Member
*
Offline Offline

Posts: 1711677325

View Profile Personal Message (Offline)

Ignore
1711677325
Reply with quote  #2

1711677325
Report to moderator
mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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
Merit: 127


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

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

mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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
Merit: 1071


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 (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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 (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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: 812
Merit: 1022

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 (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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: 812
Merit: 1022

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 (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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: 812
Merit: 1022

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 (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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
Newbie
*
Offline Offline

Activity: 37
Merit: 0


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)?
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1170


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

I do Bitcoin stuff.
mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


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:  

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