Bitcoin Forum
December 10, 2016, 11:03:11 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Shared Blockchains  (Read 675 times)
deadserious
Full Member
***
Offline Offline

Activity: 121



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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481367791
Hero Member
*
Offline Offline

Posts: 1481367791

View Profile Personal Message (Offline)

Ignore
1481367791
Reply with quote  #2

1481367791
Report to moderator
kjj
Legendary
*
Offline Offline

Activity: 1302



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.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616


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 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
Full Member
***
Offline Offline

Activity: 121



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


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!