Bitcoin Forum
May 09, 2024, 11:02:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extract block sizes from Core?  (Read 193 times)
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
June 25, 2019, 06:54:21 PM
Merited by LoyceV (1), ABCbits (1)
 #1

Can Core be told to list the sizes of all blocks?

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



1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
1715252575
Hero Member
*
Offline Offline

Posts: 1715252575

View Profile Personal Message (Offline)

Ignore
1715252575
Reply with quote  #2

1715252575
Report to moderator
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
June 25, 2019, 07: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?
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
June 25, 2019, 08:23:20 PM
Merited by jnano (1)
 #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

jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
June 25, 2019, 08: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
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!