Bitcoin Forum
May 05, 2024, 06:29:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Merging wallets  (Read 3355 times)
Black Arrow (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 1


View Profile
June 16, 2011, 12:07:46 AM
 #1

Say you have two computers with bitcoin software running on them and two separate wallets.  How would you consolidate all of your coins into one wallet? I suppose you could send them to yourself at the second computer. Is there a more straight forward way to merge the two bitcoin wallets into one?

1714890579
Hero Member
*
Offline Offline

Posts: 1714890579

View Profile Personal Message (Offline)

Ignore
1714890579
Reply with quote  #2

1714890579
Report to moderator
1714890579
Hero Member
*
Offline Offline

Posts: 1714890579

View Profile Personal Message (Offline)

Ignore
1714890579
Reply with quote  #2

1714890579
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714890579
Hero Member
*
Offline Offline

Posts: 1714890579

View Profile Personal Message (Offline)

Ignore
1714890579
Reply with quote  #2

1714890579
Report to moderator
1714890579
Hero Member
*
Offline Offline

Posts: 1714890579

View Profile Personal Message (Offline)

Ignore
1714890579
Reply with quote  #2

1714890579
Report to moderator
Salzgitter
Newbie
*
Offline Offline

Activity: 27
Merit: 0



View Profile WWW
June 16, 2011, 12:16:55 AM
 #2

Seriously, what could possibly be more straightforward than sending coins from one wallet to the other?
maykelmoya
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 16, 2011, 12:23:08 AM
 #3

Seriously, what could possibly be more straightforward than sending coins from one wallet to the other?

Maybe something like
Code:
$ bitcoind --import-wallet /path/to/other/wallet.dat
.
Bert
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
June 16, 2011, 01:10:34 AM
Last edit: June 16, 2011, 01:27:57 AM by Bert
 #4

Why make things more complex, KISS (Keep It Simple, Stupid) is a good principle to design security software. And when dealing with money, the more code there is the more space there is for bugs to sneak in. Write a separate utility for merging wallets. You never see a Ferrari with a sink plumbed in to it for some drivers who may wish to wash their hands once a year.

Merging two or more wallet.dat files, by grabbing their private keys as input and spewing  all private keys out into a new merged wallet.dat file. A separate utility would be safer, if something when wrong (power failure) you would still have all your original unmodified wallet.dat files.

I agree with Salzgitter - perfect example of KISS, why reinvent the wheel.

Tip jar: 1BW6kXgUjGrFTqEpyP8LpVEPQDLTkbATZ6
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!