Author

Topic: Shared Blockchains (Read 901 times)

member
Activity: 62
Merit: 10
July 08, 2011, 03:40:12 PM
#5
Make a server version which has the additional commands "getaddresbalance " and "transfer " and a client version which can ask the server for balance and send the signed transaction data to the server.
full member
Activity: 121
Merit: 102
July 08, 2011, 03:16:27 PM
#4
There currently isn't a mechanism for that.

I understand. 

I was asking more a conceptual question to determine if it was worth the time tweaking the client code for my purposes.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
July 08, 2011, 02:43:03 PM
#3
Would it work if you have the blockchain be stored in a folder shared in the network and have all clients using that same chain at the same time? Would it work if all but one client had only read-only access to the blockchain files to reduce the chances of corrupting it?
kjj
legendary
Activity: 1302
Merit: 1026
July 08, 2011, 02:34:03 PM
#2
There currently isn't a mechanism for that.

The closest you could do right now is to run a node with external connections on one box, and then have all of your local wallets connect to that one.  Traffic would be minimized, but space would be unchanged.

You would get very close to the same effect by having all local nodes connect to each other, in addition to their normal external connections.

Or, do you mean like on one computer with multiple users?  If so, you might be able to give each profile a link (I think NTFS calls them junctions) to a single common set of block database files.  That would probably get messy with database locking if more than one client is running at a time.

Developers are already working on various light modes that would probably do what you want to do.
full member
Activity: 121
Merit: 102
July 08, 2011, 01:53:34 PM
#1
I'm still trying to wrap my head around some concepts so forgive me if the question is naive or completely out there...

I'm thinking about a local network situation where several users all have their own wallet files but for space and bandwidth reasons there is only one copy of the block chain shared between each user.

Is there a technical reason that you could not have a shared trusted blockchain which was used by multiple clients for validating transactions in their wallets?  Assuming that blockchain is trusted, is there a security risk in doing this?
Jump to: