Bitcoin Forum
June 30, 2024, 07:59:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why the block height do not correspod to bitcoin core database size?  (Read 109 times)
supermankid (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 12


View Profile
April 11, 2022, 08:43:49 AM
Merited by o_e_l_e_o (4), ABCbits (1)
 #1

Hello all,

If current block height is ~731378
And as I understand it bitcoin block is 1 MB
731378 blocks = 731378 MB
731378/1024 ~714 GB
But the current up-to-date block is about 500 GB.
How did this size difference possible?
Or
Where am I getting it wrong?
nc50lc
Legendary
*
Offline Offline

Activity: 2464
Merit: 5749


Self-proclaimed Genius


View Profile
April 11, 2022, 09:02:42 AM
Last edit: April 12, 2022, 04:47:43 AM by nc50lc
Merited by o_e_l_e_o (4), pooya87 (2), LoyceV (2), ABCbits (2), hosseinimr93 (2), DdmrDdmr (1), PawGo (1)
 #2

Blocks can be lower than the "maximum" block size (currently 4 million Weight Units).
Most of the first thousands blocks are empty and the rest (until Bitcoin became famous) only have a small number of transactions included,
so their size are only a few kB.

For example: Block #1000 doesn't have any transaction in it aside from the coinbase txn; its size is only 0.216 kB.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2926
Merit: 7609


Crypto Swap Exchange


View Profile
April 11, 2022, 11:58:55 AM
Merited by pooya87 (2), nc50lc (1)
 #3

Blocks can be lower than the "maximum" block size (currently 4 Weight Units).

To be more precise, maximum block size was 1MB before SegWit activation (August 2017) and now it's 4 million weight units (some people also refer it as 4 kWu).

Most of the first thousands blocks are empty and the rest (until Bitcoin became famous) only have a small number of transactions included,
so their size are only a few kB.

Or rather few hundred bytes.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2464
Merit: 5749


Self-proclaimed Genius


View Profile
April 12, 2022, 04:39:58 AM
 #4

Blocks can be lower than the "maximum" block size (currently 4 Weight Units).
To be more precise, maximum block size was 1MB before SegWit activation (August 2017) and now it's 4 million weight units (some people also refer it as 4 kWu).
Thanks, I previously edited it from "4 vMB" because I decided to use "Weight Unit" instead but forgot to add "million".

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!