Author

Topic: Extract block sizes from Core? (Read 224 times)

member
Activity: 301
Merit: 74
June 25, 2019, 03:49:59 PM
#4
I'm afraid you need to get info of all blocks, parse size/weight of each block and build the list manually.
Problem is, I don't have the blocks.

you can use blockchair.com
Thanks. Didn't know explorers offered export options.

And yeah, funny on the 1M limit. Else it requires pay because they do it manually, or... you can segment your exports, which they clearly allow. Smiley
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
June 25, 2019, 03:23:20 PM
#3
Is there anywhere to get a list of all block sizes?
you can use blockchair.com, here's example for block height & size
you can also include a few more fields and set certain conditions/filter on them
however, you can only export freely if the result has less than 1 million cells
so you may want to do it in batches less than 1m cells per export Wink
member
Activity: 301
Merit: 74
June 25, 2019, 02:14:15 PM
#2
Thanks. And you're right, the 80 bytes header doesn't include size.

Is there anywhere to get a list of all block sizes?
member
Activity: 301
Merit: 74
June 25, 2019, 01:54:21 PM
#1
Can Core be told to list the sizes of all blocks?

And particularly also in pruned mode, assuming all headers are stored permanently.



Jump to: