Author

Topic: Merge two wallet.dat (Read 2272 times)

full member
Activity: 222
Merit: 100
March 07, 2013, 06: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
legendary
Activity: 2506
Merit: 1010
March 06, 2013, 06: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.
legendary
Activity: 1386
Merit: 1000
English <-> Portuguese translations
March 06, 2013, 12: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.
full member
Activity: 222
Merit: 100
March 06, 2013, 12: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
Jump to: