Bitcoin Forum
May 30, 2024, 08:15:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: <solved> blockchain size on full node  (Read 85 times)
callmejoe (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 22


View Profile WWW
March 16, 2022, 04:45:15 PM
Last edit: March 17, 2022, 12:00:26 AM by callmejoe
 #1

im running a full node on my raspberry pi and currently the blockchain data directories are taking up 425GB of space.

about 421GB in the blocks directory and 4.6GB in the chainstate directory.

i see on websites like ycharts dot com that the current blockchain size is about 396GB.

what can explain the difference in my copy?
LoyceV
Legendary
*
Offline Offline

Activity: 3332
Merit: 16744


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 16, 2022, 04:50:33 PM
 #2

what can explain the difference in my copy?
Most sites don't update the total size, so the longer ago someone typed it, the smaller the number.
I currently have 4.6GB chainstate and 420 GB blocks.

Noob_Is_Relative
Jr. Member
*
Offline Offline

Activity: 45
Merit: 62


View Profile WWW
March 16, 2022, 05:13:22 PM
Last edit: March 16, 2022, 05:31:50 PM by mprep
 #3

im running a full node on my raspberry pi and currently the blockchain data directories are taking up 425GB of space.

about 421GB in the blocks directory and 4.6GB in the chainstate directory.

i see on websites like ycharts dot com that the current blockchain size is about 396GB.

what can explain the difference in my copy?

No pruning in your case? FYI, my directory properties indicate 0.657 TB "size on disk." There is another value, 0.676 TB indicated by properties which is something other than "size on disk." I don't know if that's the objective blockchain independent of a particular user's use case.  I think that there must be differences in configuration that explain individual differences in the size of a blockchain that one has onsite in a Full Node versus the objective size.

Other thoughts:

I think that the objective size of the blockchain must have a constant value that only changes when another block is concatenated. And I wonder if each block is quantitatively identical or different. You could evaluate the size of the objective blockchain and divide by blockheight and at least get an average per block.



what can explain the difference in my copy?
Most sites don't update the total size, so the longer ago someone typed it, the smaller the number.
I currently have 4.6GB chainstate and 420 GB blocks.

Please explain chainstate. Console command for that?

[moderator's note: consecutive posts merged]

Aller Anfang ist schwer.
callmejoe (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 22


View Profile WWW
March 16, 2022, 05:50:03 PM
 #4


Most sites don't update the total size, so the longer ago someone typed it, the smaller the number.
I currently have 4.6GB chainstate and 420 GB blocks.

thanks for the verification on your data
NeuroticFish
Legendary
*
Offline Offline

Activity: 3682
Merit: 6416


Looking for campaign manager? Contact icopress!


View Profile
March 16, 2022, 05:59:38 PM
 #5

In case it helps, I have 418 GB blocks, 4.5 GB chainstate and 34.2 GB indexes (yes, I have indexes on). But (for personal reasons) my blockchain is not synced for 2 days, it was stopped.


PS. Beware that depending on how the HDD is formatted the actual size on disk may differ a little from one node to another.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3332
Merit: 16744


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 16, 2022, 06:06:59 PM
 #6

0.657 TB
That seems a bit much. Any chance there's 200 GB of other data included?

Quote
Please explain chainstate.
Allow me to copy Pieter Wuille:
Quote
the blocks directory contains the actual blocks. The chainstate directory contains the state as of the latest block (in simplified terms, it stores every spendable coin, who owns it, and how much it's worth).

Quote
Console command for that?
It's just a directory, by default on this location:
Code:
cd .bitcoin/chainstate/

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!