Bitcoin Forum
April 26, 2024, 09:06:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Merge two wallet.dat  (Read 2269 times)
TAiS46 (OP)
Full Member
***
Offline Offline

Activity: 222
Merit: 100



View Profile WWW
March 06, 2013, 04:15:26 PM
 #1

Hello,

i have two wallet.dat files and want to merge it.
It there a simple option?
The one wallet.dat file hast 200mb and the other one 70mb.

It will be good, when I can do it in a fast process.
Maybe I can stop bitcoind 2 to dump the privkeys from the wallet.dat
and import them without stopping bitcoind 1 into the other wallet?

Thx Simon
1714165604
Hero Member
*
Offline Offline

Posts: 1714165604

View Profile Personal Message (Offline)

Ignore
1714165604
Reply with quote  #2

1714165604
Report to moderator
1714165604
Hero Member
*
Offline Offline

Posts: 1714165604

View Profile Personal Message (Offline)

Ignore
1714165604
Reply with quote  #2

1714165604
Report to moderator
1714165604
Hero Member
*
Offline Offline

Posts: 1714165604

View Profile Personal Message (Offline)

Ignore
1714165604
Reply with quote  #2

1714165604
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DarkHyudrA
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000


English <-> Portuguese translations


View Profile
March 06, 2013, 04:43:13 PM
 #2

Your idea will not wok, if you sent bitcoins with bitcoin-qt.
Because when you send some bitcoins, part of your bicoins goes to hidden addresses, which you don't know who they are to use the dumpprivkey.

English <-> Brazilian Portuguese translations
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 06, 2013, 10:08:18 PM
 #3

and import them without stopping bitcoind 1 into the other wallet?

With Bitcoin-Qt/bitcoind v0.8 you can do an importprivkey and rescan=true on the last one to import and it will rescan.  With versions prior to v0.8 it did a rescan after each import, or you could (and still can) force a rescan when launching the program.

listreceivedbyaddress will give all the addresses in which you've received funds.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


TAiS46 (OP)
Full Member
***
Offline Offline

Activity: 222
Merit: 100



View Profile WWW
March 07, 2013, 10:06:33 PM
 #4

Hm,

so maybe I will create a script that uses "dumpprivkey"
to get all keys and than a importprivkey "" 0 to import the key.

after that I will restart bitcoind with -rescan
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!