2

I look at the scaleability discussion where one of the problems is the blockchain grows in size too much so that specialized storage systems will be needed which will lead towards centralization.

I wonder whether the blockchain cold be distributed between the nodes in a way that Torrent works (Distributed Hash Table) so that every node would not need to store whole blockchain but could ask its peers for the parts it does not have. I know this would assume some level of trust between the nodes but it is the same as when a node downloads the blockchain for the first time today.

Every node may only store blockhashes (and check they are valid from the genesis block) and after it receives the block wanted via torrent just check for hash again to see the block contents are correct.

2 Answers 2

4

Could blockchain be distributed over torrent (DHT)?

Possibly, but...

...so that every node would not need to store whole blockchain... ?

What you're essentially describing is sharding, which is being touted as one of the answers to Ethereum's scalability challenges. It's described in detail on the wiki's Sharding FAQ.

In short, sharding allows the entire state of the network to be split into partitions called shards. Each shard contains its own subset of the state data and transaction history, and is hosted by a different subset of nodes. Nodes therefore need not maintain a complete copy of the blockchain state.

The project is being rolled out in four phases, with a minimal implementation of sharding - the first phase - being all but complete (apparently). Implementation details of Phase 1 can be found in this development document.

For a shorter, less complicated read, see: How to Scale Ethereum: Sharing Explained. (Medium article)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.