Post
Topic
Board Development & Technical Discussion
Re: Efficient Blockchain Data Management
by
Pablo-wood
on 08/01/2025, 11:10:42 UTC
Do you think the size of the blockchain will bloat more than my calculation suggests just 20 years from now?

I started by asking whether the continuously growing blockchain would become a burden on nodes in the future.
If the blockchain becomes extremely large, the affordability reduces and in-turn only few nodes may be able to store and maintain it and this will have a direct impact on decentralization. The limit on block size as well as the average duration (time) between blocks impacts the blockchain's growth rate directly. That is if the block size remains constant and the interval for each block maintains the estimated 10 minutes, then the growth can be estimated fairly accurate.

Code:
# Constants for blockchain size growth calculation
block_size_mb = 1  # Average block size in MB (can be adjusted for SegWit or future changes)
blocks_per_day = 144  # Total number of blocks generated per day
days_per_year = 365.25  # Average days per year, also accounting for leap years
years = 20  # Number of years for projection

# Calculate daily, yearly, and 20-year blockchain growth
daily_growth_mb = block_size_mb * blocks_per_day
yearly_growth_mb = daily_growth_mb * days_per_year

twenty_year_growth_mb = yearly_growth_mb * years

# Convert MB to GB for easier interpretation
daily_growth_gb = daily_growth_mb / 1024
yearly_growth_gb = yearly_growth_mb / 1024
twenty_year_growth_gb = twenty_year_growth_mb / 1024

# Printing the Output
print(f'Daily Growth: Approximately {daily_growth_gb}GB ({daily_growth_gb * 1000})MB Per day')
print(f'Yearly Growth: Aproximately {yearly_growth_gb}GB ({daily_growth_gb} * 1000)MB per year' )
print(f'Twenty Years Growth: {twenty_year_growth_gb}GB ({twenty_year_growth_gb} * 1000) per twenty years')