How can I create graphs similar to http://bitcoin.sipa.be, and blockchain.info for Namecoin?

For example this thread discusses how to analyze difficulty over time and provides this equation and correlation covering 4 difficulty adjustments.

I'd like to understand the math required to create such graphs so I can port the trending to other *coin usages. (which invariably have different values)

  • 1
    Seems to me to be way too general and vague to be suitable for SE. Also, I don't think there's a shortcut - learn more math, especially in the areas of probability and statistics, and you'll have a better idea of what things can be analyzed and how to use different tools for it. – Meni Rosenfeld Dec 7 '12 at 6:51
  • @MeniRosenfeld Edited... what do you think? – halfbit Dec 7 '12 at 13:09
  • Still feels a bit general, but maybe others will find a good way to answer. – Meni Rosenfeld Dec 8 '12 at 16:12

The math behind those graphs is pretty simple, the main problem is crawling through the data and creating readable images automatically.

Difficulty (red line) can always be read from the generated Blocks, no problem there.

1/3/7/14/whatever-window estimates I assume are calculated by counting how many Blocks were generated in a given time period and at what difficulty. In general I guess it should be:

Estimate = (Difficulty * MeasurementTime) / (10 minutes * BlockCount)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.