Can Blockchain Size Ever Be Too Big?

12 replies 248 views
alpha23Member
Posts: 116 · Reputation: 79
#1Mar 28, 2022, 04:10 AM
So, are there any limits on how big block files can get? I mean, like, they store multiple blocks in those.dat files. Can it keep validating more and more files forever or is there a point where it just stops working?
5 Reply Quote Share
wallet21Senior Member
Posts: 164 · Reputation: 1361
#2Mar 28, 2022, 09:21 AM
Honestly, I wouldn’t stress about it much. The blockchain is built to handle massive amounts of data. We’re probably decades away from hitting any limits. By the time that happens, tech will have advanced so much that we won’t even notice.
3 Reply Quote Share
cobra51Newbie
Posts: 100 · Reputation: 31
#3Mar 28, 2022, 11:28 AM
Yeah, it's more of a filesystem issue than a blockchain issue. The blocks are already split up into smaller files. As for volume size, most filesystems can handle tons of data, like exabytes and stuff. You could just link files across different drives if needed.
4 Reply Quote Share
diamondhandsHero Member
Posts: 200 · Reputation: 2112
#4Mar 28, 2022, 12:44 PM
Every SHA-256 hash call can max out at about 2^64-1 bits. So there's a limit there, sure.
1 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#5Mar 28, 2022, 05:26 PM
I remember back in the day, DOS and early Windows had much smaller limits. But look how far we’ve come. By the time Bitcoin hits any size limit, our operating systems will have evolved to handle way more files and data.
3 Reply Quote Share
0xLynxMember
Posts: 113 · Reputation: 205
#6Mar 28, 2022, 11:09 PM
I think there is a theoretical limit based on some physics stuff, like the Bekenstein bound, related to black holes. No tech we can imagine can handle a size beyond that.
0 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#7Mar 29, 2022, 12:11 AM
Just a heads up, even older systems might get updates to allow more storage. So, no need to freak out about BTC being stuck on older filesystems. It’s still a topic worth considering.
2 Reply Quote Share
Posts: 28 · Reputation: 205
#8Mar 29, 2022, 04:14 AM
Imagine if we treated filesystem updates like Bitcoin updates. We'd still be stuck with 4GB max sizes like FAT32!
4 Reply Quote Share
alpha23Member
Posts: 116 · Reputation: 79
#9Mar 29, 2022, 09:36 AM
Anyone tested symlinks on Linux? Like, if I run out of file numbers in a folder, can I just link it to another one? Would Bitcoin Core need to know where those links are?
5 Reply Quote Share
0xLaserFull Member
Posts: 252 · Reputation: 641
#10Mar 30, 2022, 10:08 PM
If you can't trust your setup, then what can you trust? Think about going beyond x86 or even switching to libreboot. But honestly, Windows might be a bigger threat than Intel ME.
4 Reply Quote Share
qu4ntumdiamondFull Member
Posts: 24 · Reputation: 707
#11Mar 31, 2022, 12:21 AM
Bitcoin clients can use any format for blockchain info. They mainly store unspent outputs and there’s a limit to that since there’s only so many bitcoins. If the blockchain gets super big, we could spread it out over multiple drives.
1 Reply Quote Share
diamondhandsHero Member
Posts: 200 · Reputation: 2112
#12Mar 31, 2022, 06:13 AM
Actually, you can create zero satoshis, so the number of blocks is practically infinite. You can have a huge chain that doesn't take much space at all. The limit is more about the message size in SHA-256.
1 Reply Quote Share
Posts: 37 · Reputation: 3
#13Mar 31, 2022, 06:19 AM
Big files can slow down a system, but it won’t just crash. There’s no set number for how many.blk files can be created, it will keep adding. But honestly, Bitcoin was built to manage large files, so I wouldn’t sweat it. And don’t forget about Pruning, it helps with old data.
0 Reply Quote Share

Related topics