Bitcoin Forum
November 02, 2024, 04:37:18 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Share a wallet between multiple computers?  (Read 2874 times)
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
April 29, 2011, 09:36:58 PM
 #1

What's the best way to share a wallet?  Do I have to create the bitcoin.exe -server on a single computer, then have all of the other computers on the LAN connect through it?  How would I go about setting that up with poclbm?  Would I just use something like -host 192.168.1.3?  Can I have two bitcoin.exe's running on two separate computers and somehow use the same wallet.data?

Right now, I'm doing shared pooling through deepbit anyway, but I want to know all of my options, so I'd like to know how to properly set this up.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 06, 2011, 07:45:41 AM
 #2

I too am interested in this.

If I take my wallet.dat file from my windows computer and copy it over to my linux laptop... will I have dual access to the exact same account?

What would happen when I send money from one computer? Would the other one be notified?
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1181


View Profile WWW
May 06, 2011, 11:15:54 PM
 #3

0.3.21 contains a patch that makes the client monitor the network for transactions both from and to its own keys. In theory, you can share a wallet.dat file between two systems, but you need to be very careful. The wallet.dat file contains 100 future keys, but this does mean that if you do transactions from both nodes, they will start to diverge, and after 100 transactions, they will start using different keys. Also, if you have done a transaction from one node, unknown by the others, there is a chance that you will do a double spend, and have a wallet with invalid change transactions in it (possibly leading to more transactions that never get accepted).

I do Bitcoin stuff.
BitterTea
Sr. Member
****
Offline Offline

Activity: 294
Merit: 252



View Profile
May 06, 2011, 11:19:42 PM
 #4

I think a partial solution for the divergence is to identify one copy of the wallet as a primary, and periodically (before the 100 keys in the pool are used up) overwrite all other copies from the primary. This is kind of what I do with my Bitcoin-on-USB installation.
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
May 06, 2011, 11:46:36 PM
 #5

Thanks sipa, good explanation.
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!