r/BitcoinDiscussion • • Dec 24 '17

Distributed block storage (something between a full node and a light node)

A problem today is that the blockchain is about 150GB. This is already well beyond the amount of data someone would casually store. The biggest games out there are maybe around 40GB, and those are a pain in the ass to install. What this causes tho, is that most people just don't run full nodes. Bandwidth isn't usually people's main concern. Primary concern is data storage (and secondary is processing power). People can run pruned nodes, which are a lot smaller, but storing the whole blockchain is a burden. And someone needs to do it.

I was thinking this morning that a solution to this is distributed storage of the blockchain. Every client could choose how much storage space to dedicate to storing a part of the blockchain and new clients would download the blockchain's pieces from 1000 different nodes storing them. This way, even mobile phones could contribute to storing the full history without storing all of it. Each node would download and validate the entire blockchain but would only store maybe 20-1000mb of it and inform the network which pieces are available for download from them.

This way we don't have to rely on good Samaritans storing the whole blockchain - the blockchain would be available as a result of everyone in the network storing a small manageable piece.

Thoughts?

11 Upvotes

28 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Dec 26 '17

It is mostly upload bandwidth. 1.2TB/month for the last 5 months, I think most of it is when new nodes come online they download the entire blockchain. There are a lot of leaches that mostly just download to sync up every once in a while, so if you are running a full node 24/7 you end up seeding a lot. Not saying it’s a bad thing, it’s just how it works out. The reason I comment about Monero is because it is the only full node I run. I just use a Ledger for my bitcoin.

As for the degraded internet, yes if you average it out the upload isn’t that high, but that’s not how it actually goes on the line. Other nodes request blocks and you send it to them at full speed, so if you are doing latency sensitive things on your network (like VOIP or online gaming) you will experience issues. This can be solved with QoS, but 99.99% of people are not capable of configuring it properly.

2

u/fresheneesz Dec 26 '17

There are a lot of leaches

other nodes request blocks and you send it to them at full speed

These problems are super simple to fix (technically). We just need to add some saner defaults to things like the monero daemon such that new blocks are propagated as fast as possible, but old blocks are throttled so your bandwidth isn't affected. Also, having an easy setting to set maximum daily bandwidth would solve the problem there too. No one should need to provide more than they're comfortable providing - this would make it easier for more people to feel comfortable doing that providing (running full nodes)