Bitcoin Forum
April 23, 2024, 08:54:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Use same wallet/address on multiple PCs?  (Read 8506 times)
Desslok (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 24, 2011, 01:09:34 PM
 #1

Hello. I'n new (as if you can't tell from my post count Smiley)

Saw the Bitcoin discussion on /. yesterday and am quite intrigued. We're writing a game and for the first version many of the players have asked for other payment alternatives apart from our credit card processor and Paypal. Maybe Bitcoin will fit the bill, I'm not sure yet.

I still have a number of things I'm looking at, but for now my first question is how do I use my bitcoin wallet on multiple PCs? Is there some form of identification that it uses that will allow the bitcoin client to synchronize the wallet between, (for instance) a laptop and a desktop PC?

Thanks!

1713862470
Hero Member
*
Offline Offline

Posts: 1713862470

View Profile Personal Message (Offline)

Ignore
1713862470
Reply with quote  #2

1713862470
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713862470
Hero Member
*
Offline Offline

Posts: 1713862470

View Profile Personal Message (Offline)

Ignore
1713862470
Reply with quote  #2

1713862470
Report to moderator
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
March 24, 2011, 01:12:07 PM
 #2

I still have a number of things I'm looking at, but for now my first question is how do I use my bitcoin wallet on multiple PCs? Is there some form of identification that it uses that will allow the bitcoin client to synchronize the wallet between, (for instance) a laptop and a desktop PC?

Thanks!

No. There's no identification system built-in the bitcoin network other than your public and private keys.

Desslok (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 24, 2011, 01:28:19 PM
 #3

So if I want to use Bitcoin from multiple device I'd have to actually send the bitcoins between the wallets on the two devices?  I'm wondering how that will pan out if I want to use Bitcoin on my smartphone. Sad

Seems unwieldy to me, since one would expect to model a wallet after a real wallet where an owner has one wallet and carries it in the pocket of the pants he is wearing that day, rather than tying the wallet to a specific pair of pants and then when he drops the pants in the washer, the wallet gets washed as well! Smiley
CCCMikey
Member
**
Offline Offline

Activity: 77
Merit: 10



View Profile
March 24, 2011, 01:31:30 PM
 #4

Yes, but you can't really carry a copy of your wallet. With the plethora of PC remote access software I wouldn't think it'd be a big deal Smiley
Desslok (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 24, 2011, 02:10:45 PM
 #5

Right. So if I then elect to put the walled on a USB Flash drive, can I somehow point the Bitcoin client on each PC to the USB Flas drive to read the wallet from there? Will that work?

Still leaves out the issue with Smartphones, tablets and all the newer computing devices, but one barrier at a time.
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
March 24, 2011, 02:19:17 PM
 #6

I thought with the keypair you could both read the amount of money an address has and spend 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?!
Desslok (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 24, 2011, 02:23:20 PM
 #7

I thought with the keypair you could both read the amount of money an address has and spend it...

Interesting, but how? I thought the keypair was integrated into the wallet and tied to the Bitcoin address?
stakhanov
Full Member
***
Offline Offline

Activity: 175
Merit: 101


View Profile
March 24, 2011, 02:53:56 PM
 #8

The wallet is just a file. Why not send the wallet over the network?
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 24, 2011, 02:59:42 PM
 #9

I thought with the keypair you could both read the amount of money an address has and spend it...

Interesting, but how? I thought the keypair was integrated into the wallet and tied to the Bitcoin address?

wallet.dat contains your keypairs.  I haven't tried it, but it should work fine with multiple clients on multiple machines, as long as you keep the wallet.dat synchronized between the devices.

As we slide down the banister of life, this is just another splinter in our ass.
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 24, 2011, 03:01:52 PM
 #10

BTW, transactions are not stored in wallet.dat, so synchronization is fairly easy to maintain.  wallet.dat only changes whena a new group of addresses is generated.  The client pregenerates them 100 at a time, so wallet.dat will only change after you use 100 new addresses.

As we slide down the banister of life, this is just another splinter in our ass.
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
March 24, 2011, 03:13:29 PM
 #11

And for reference, I put a copy of my wallet on my laptop and am careful not to double spend, but I have access to my coins in both places.
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 24, 2011, 03:17:21 PM
 #12

And for reference, I put a copy of my wallet on my laptop and am careful not to double spend, but I have access to my coins in both places.

Out of curiosity, how long does it take for the unused client to adjust it's balance?  Is it as soon as it receives the transaction broadcast, or does it wait until the transaction is in a block?  It seems like it would be the former, but I haven't tried it or looked at that part of the source.

As we slide down the banister of life, this is just another splinter in our ass.
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
March 24, 2011, 03:17:48 PM
 #13

It waits until the transaction is in a block, I think.
Desslok (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 24, 2011, 03:24:39 PM
 #14

Right, so if a wallet exists in multiple places it *will* synchronize?
gohan
Jr. Member
*
Offline Offline

Activity: 52
Merit: 1


View Profile
March 24, 2011, 03:38:43 PM
 #15

Right, so if a wallet exists in multiple places it *will* synchronize?
If a new address were generated on your laptop, it would be hidden from your view and kept in reserve, but it would eventually appear in your receiving addresses list (on your laptop) after you create 100 new addresses. And you won't have a copy of it (private key corresponding to the new address) on your desktop. So what I would do is to assume that one of the wallets are the master, and copy it to other devices at an interval, like every month or so. This isn't the same as synchronization though.

I put a copy of my wallet on my laptop and am careful not to double spend

How do you prevent avoid double spending? I have to try it on my N900. :-)
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
March 24, 2011, 03:43:38 PM
 #16

I don't send coins if I think there's any possibility of an unverified transaction Smiley
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12873


View Profile
March 24, 2011, 06:18:30 PM
 #17

Right. So if I then elect to put the walled on a USB Flash drive, can I somehow point the Bitcoin client on each PC to the USB Flas drive to read the wallet from there? Will that work?

That should work. Run each Bitcoin instance with the -datadir=/path/to/drive switch.

I wouldn't try using two different copies of the wallet. Bitcoin was not designed to do this. I don't think it takes into account sent transactions until you restart it, which might cause you to accidentally double-spend.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
March 24, 2011, 06:24:38 PM
 #18

Would it be possible to modify the client to properlly handle multiple concurrent copies of a wallet? Or the protocol itself needs to be changed for that to work?

(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?!
MOON
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
March 24, 2011, 06:46:41 PM
 #19

Would it be possible to modify the client to properlly handle multiple concurrent copies of a wallet? Or the protocol itself needs to be changed for that to work?

It should work as you could just add an option to choose the wallet from different locations on your computer. Here you can donate for speeding up the development of this feature:
http://bitcoin.cz.cc/?page=propose&id=30
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
March 24, 2011, 06:59:33 PM
 #20

No, i mean the same wallet being used in more than one machine at once

(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?!
Pages: [1] 2 »  All
  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!