Bitcoin Forum
May 09, 2024, 05:58:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Shared Blockchains  (Read 881 times)
deadserious (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 102



View Profile
July 08, 2011, 06: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?
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
July 08, 2011, 07: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.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
July 08, 2011, 07: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?

(I dont always get new reply notifications, pls send a pm when you think it has happened)

Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
deadserious (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 102



View Profile
July 08, 2011, 08: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.
rabit
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
July 08, 2011, 08:40:12 PM
 #5

Make a server version which has the additional commands "getaddresbalance <public key>" and "transfer <signed transaction data>" and a client version which can ask the server for balance and send the signed transaction data to the server.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!