5
This question is related to to the ( already nearing 2 GB and always increasing size ) blockchain download needed to use the bitcoin network, and is referencing this previous question :
Is "Reclaiming Disk Space" already implemented? How effective will it be?
Please read it before answering
Currently if I have bitcoind running on 20 machines, or 20 bitcoind running on the same machine, each of them need to download and store 2 GB blockchain, total 40 GB diskspace used and much bandwidth to dowload it 20 time.
I think the easiest way to make it better would be to have a "read-only" blockchain, one of the bitcoind writes it and the others only use it read only to check transactions.
This could be used to be my own trusted blockchain provider, for all my machines and bitcoind running, on the same machine or remotely using sshfs or other mounting options.
Now the questions :
1- How to implement this in bitcoind ? easiest way to do this ?
2- can this be a problem for the bitcoin network itself in any way ?
Rules : I dont want answers like "try poolserverj" or "you dont need that" please ;)
2My question would be, what is the reason you are running bitcoind on 20 machines? You could run it on one or two machines (two if you want to have a backup) and make every other communicate to those two with anything they need. – ThePiachu – 2012-03-17T08:50:30.020
2many possible reasons, I want to have more than one backup, I want to povide ssh wallets to my friends, I have small devices who dont have enough diskspace to store the blockchain locally. – neofutur – 2012-03-17T17:29:15.360
1
anyway "why I need this" is not the question, and "20 machines" is just an example, another why is bitcoin scalibility, and the need of trusted blockchain providers, see http://www.slideshare.net/dakami/bitcoin-8776098 particularly the slide 12 ;see also a comment in bitcoin code, main.h around line 1855 : "// FAT32 filesize max 4GB, fseek and ftell max 2GB, so we must stay under 2GB", this could be another reason
– neofutur – 2012-03-17T17:48:37.990I think this is a good idea for further research and development. An untrusted blockchain provider is interesting too, but perhaps so much harder to do as to not be worth it. (How do you prove an output wasn't spent?) – David Schwartz – 2012-06-20T00:23:15.167
I believe a good solution to this problem will soon be using one node that does not prune, and others that prune blocks aggressively (only keep the last few hundred) that bootstrap from the non-pruned one. – Pieter Wuille – 2012-08-18T21:30:12.810