0

Is it possible to make a blockchain system that allows you to download specific blocks from the blockchain instead of the whole blockchain?

In my case for example, I only need 1 giga of the whole chain, so why do I have to download all the blocks? I understand that this is done to make sure that the chain doesn't get tampered with and so on...

But is it possible to make it like a torrent file? where you can download only the files that you need, and no need to download everything with it.

1

...you can download only the files that you need, and no need to download everything with it.

To do this, you would need to trust that you are receiving the correct files (blocks) from your peers. If they lie to you and serve a false history, how will you know?

A full node downloads the blockchain so that it can independently validate the current state of the network, starting from the genesis block. By working through the network's history, the full node can verify for itself what the current state of the network is, without needing to trust any peers to not lie.

A lightwallet can download just the block headers (80 bytes per block) and use them to help verify that the wallet's transactions are authentic Bitcoin transactions.

But in both cases the node/wallet must have a full history of blocks/headers in order to not be trivially taken advantage of. So I think that an application which only downloads parts of the blockchain history is likely of little use, due to the potential for abuse of trust.

  • I'm aware that a node might lie, and also aware of the light node concept. But, just like downloading a torrent file, you download it from different random users, therefor, if one node tried to give you a fake block, other nodes will also have to give you the exact fake block. which a very unlikely situation to happen, right? – l Wawa Aug 27 at 8:20
  • 1
    “Unlikely to happen” generally isn’t the sort of security guarantee I’d want for my money. Why open yourself up to targeted attacks? – chytrik Aug 27 at 8:28
  • Really? because this is the model that blockchain uses as a security mechanism. An example of that is 51% attack, although it's a possibility, but it's unlikely to happen. – l Wawa Aug 28 at 2:49
  • A 51% attack has a huge monetary cost, whereas an eclipse attack does not. So these two attacks are not analogous in this way; a 51% attack is EXTREMELY more unlikely. – chytrik Aug 28 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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