Bitcoin Forum
May 30, 2024, 07:54:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Migrating Wallet  (Read 690 times)
josor (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 14, 2013, 05:29:05 AM
 #1

Hi all,
Years ago I mined some bitcoin and have sort of forgotten about it since then. Now I find I can almost buy a new car with the profit.  Grin

However my bitcoin wallet is on an old machine with an old version of the bitcoin software. I decided to install the newest client on my main machine, and tested to see if I could send 5 BTC from the old one to the new one. It seemed that the old client did not want to send as it said in the status column: 0\unconfirmed: network problems?.

So I am wondering what the easiest way to transfer the wallet or funds from the old machine to the new one?

I read something about cancelling a transaction with a program called pysomething. Should I do that and then transfer the wallet file? If so, then how would I do that?

Thanks for any help on the matter,

Josor
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
March 14, 2013, 05:58:41 AM
 #2

Has your old client finished redownloading the blockchain? If not, that could be the problem.
Also, that program is called pywallet: https://bitcointalk.org/index.php?topic=35214.0

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
josor (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 14, 2013, 06:15:44 AM
 #3

Yes it finished downloading the blockchain.

Can I just copy/paste the wallet file if I cancel the transaction with pywallet?
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
March 14, 2013, 06:21:47 AM
 #4

Since it's an old client, I'm not sure if it would work, but so long as you make a backup of it (or just leave a copy with the old client) and a backup of the wallet on your newer computer before you try, it won't hurt if it doesn't work. Also, you should make a backup before using pywallet, as I'm not sure what it will do if the wallet format is different from what it expects. Backups are always a good idea.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
josor (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 14, 2013, 06:32:49 AM
 #5

Thanks!

I have several backups of the old wallet file. The new one is empty, so no biggie there.
josor (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 14, 2013, 07:29:25 AM
 #6

BTW, can I just use one of the backup wallets to copy/paste since the transaction never went through?
BenTuras
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1001



View Profile
March 14, 2013, 07:49:23 AM
Last edit: March 14, 2013, 08:13:43 AM by BenTuras
 #7

So you have two PC's. The old one with enough Wink BTC in the wallet, and a new one to which you might have sent five BTC.

I would proceed like this:
Stop all bitcoin programs on both PC's
Make a backup of the wallet.dat file on the new PC, call it wallet-dat-new
Make a backup of the wallet.dat file on the old PC, call it wallet-dat-old
Install version 0.8 of bitcoin-qt on the new PC. This version is fine for you, in case you know about the fork yesterday. You're not going to mine.
Start bitcoin-qt 0.8 on the new PC and let it run for a minute so it has downloaded a little bit of the blockchain.
Stop bitcoin-qt on the new PC.
Copy wallet-dat-old to wallet.dat on the new PC, overwriting the existing wallet.dat (you have a backup of it too)
Start bitcoin-qt on the new PC and let it download the complete blockchain. This will take a while. Your amount of BTC should appear while it is downloading.
You now have the latest bitcoin-qt program with your BTC in it.

Once you succeeded, you'll get instructions to check for the five BTC  Smiley

Which brand car are you looking at ?   Grin

Good luck!


I am selling in stock OneStringMiner boards, based on the Bitfury chips. Have a look here: https://bitcointalk.org/index.php?topic=495536.0
josor (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 17, 2013, 02:44:53 PM
 #8

Thanks Ben,

I've been away for a few days and haven't been home to try it yet, but thanks for the answer.

I don't think I'll buy a new car just yet as I am happy with the one I have. Hopefully bitcoin will continue its rise and I'll be able to afford an M5 Grin
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!