Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jackjack on May 20, 2013, 04:51:32 PM



Title: Plot "block size = f(block height)"
Post by: jackjack on May 20, 2013, 04:51:32 PM
Can I find it somewhere?
I never saw it but maybe I missed it


Title: Re: Plot "block size = f(block height)"
Post by: Zeilap on May 20, 2013, 04:58:22 PM
Like this (https://blockchain.info/charts/avg-block-size?showDataPoints=false&show_header=true&daysAverageString=1&timespan=all&scale=0&address=)?


Title: Re: Plot "block size = f(block height)"
Post by: jackjack on May 20, 2013, 05:02:36 PM
Absolutely, I indeed missed it. Thanks
Are the data points accessible? (I can't check, I'm on my mobile phone)


Title: Re: Plot "block size = f(block height)"
Post by: Zeilap on May 20, 2013, 05:20:03 PM
You could view source and copy the javascript data.

Code:
series: [{                    
  name: 'MB',
  data: [[1231006505000, 2.71E-4],[1231092905000, 0.0],[1231179305000, 0.0], ... ],
  showInLegend: false               
}]

The data is averaged over the day though, so maybe you need more detail.


Title: Re: Plot "block size = f(block height)"
Post by: jackjack on May 20, 2013, 05:46:04 PM
Great thank you


Title: Re: Plot "block size = f(block height)"
Post by: dserrano5 on May 21, 2013, 10:37:39 AM
From my copy of the chain: https://dl.dropboxusercontent.com/u/24587684/block-sizes


Title: Re: Plot "block size = f(block height)"
Post by: jackjack on May 21, 2013, 11:23:23 AM
Thanks, that's even better
Are you sure the sizes are correct? They all differ from the ones in blockexplorer


Title: Re: Plot "block size = f(block height)"
Post by: dserrano5 on May 21, 2013, 12:10:22 PM
Thanks, that's even better
Are you sure the sizes are correct? They all differ from the ones in blockexplorer

They seem to be the same up to and including 231691, then my listing shows "231692,332378" and that's the first difference I find. Actually that's an off-by-one error, ie ignoring that 332378 and moving all remaning sizes up one place, the results match blockexplorer again for some time, then another off-by-one appears. Probably my copy of the chain has their first orphan at that point and my naive blockchain parser ignores those :). Fixing it now… […] done!


Title: Re: Plot "block size = f(block height)"
Post by: jackjack on May 21, 2013, 12:33:45 PM
Yeah, "they all differ" meant "considering the last 5 I looked at, they all differ"  ;D