Author

Topic: Storing coins in offline wallet (Read 1581 times)

legendary
Activity: 2058
Merit: 1452
September 25, 2013, 03:22:28 PM
#19
Rescan runs on its own when you put a new wallet.dat file in.

So can you clarify why you stated you can't swap your wallet.dat file?

Im still not seeing how that statement is not false.

PS:  I didnt mean "no" transactions are stored in the wallet.  I meant the entire transaction history of the blockchain is not exclusively stored there.  You made the statement that you can not swap your wallet.dat file becuase it will miss transactions.  In fact all transactions are updated when you put the wallet file back into the directory. 
I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
I understand that. But you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.

Grue,

I think you are mistaken.

I've done this many times myself.  It works.
It used to be the case that a rescan was required after swapping wallets. That was the only issue I had with changing wallets. Now it's automatically rescanned so it's no longer an issue. I edited my post to reflect that.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 25, 2013, 03:10:36 PM
#18
I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
I understand that. But you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.


Grue,

I think you are mistaken.

I've done this many times myself.  It works.
It requires a rescan but yeah it works
legendary
Activity: 3472
Merit: 4801
September 25, 2013, 03:04:25 PM
#17
I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
I understand that. But you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.

Grue,

I think you are mistaken.

I've done this many times myself.  It works.
hero member
Activity: 924
Merit: 1001
September 23, 2013, 02:55:56 PM
#16
Rescan runs on its own when you put a new wallet.dat file in.

So can you clarify why you stated you can't swap your wallet.dat file?

Im still not seeing how that statement is not false.

PS:  I didnt mean "no" transactions are stored in the wallet.  I meant the entire transaction history of the blockchain is not exclusively stored there.  You made the statement that you can not swap your wallet.dat file becuase it will miss transactions.  In fact all transactions are updated when you put the wallet file back into the directory. 
legendary
Activity: 2058
Merit: 1452
September 23, 2013, 02:43:59 PM
#15
Can you clarify this?   Everybody I know uses this technique without any problem.  You can simply swap out the wallet.dat file.  People do it all the time.  The client does not miss transactions because transactions are not stored in the wallet.dat file.  The client downloads blockchain transactions every time its opened.  The wallet.dat file simply catches up when the two are recombined.
The client will only "catch" the transactions that are in the newly downloaded blocks. It will not add any missed transactions from its existing block store. If you want to do that, you'll need to run the -rescan option.

transactions are not stored in the wallet.dat file.
That's false.
https://en.bitcoin.it/wiki/Data_directory
Quote
wallet.dat

    Storage for keys, transactions, metadata, and options. Please be sure to make backups of this file. It contains the keys necessary for spending your bitcoins.
hero member
Activity: 924
Merit: 1001
September 23, 2013, 02:41:09 PM
#14
you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.
Can you clarify this?   Everybody I know uses this technique without any problem.  Its the most common, and well known technique for storing your BTC safely offline.

You *can* simply swap out the wallet.dat file.  People do it all the time.  

The client does not miss transactions because transactions are not stored in the wallet.dat file.  The client downloads blockchain transactions every time its opened.  The wallet.dat file simply catches up when the two are recombined.

legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 04, 2013, 05:08:04 PM
#13
it doesn`t work for some reason :/
It should work
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
September 04, 2013, 04:52:35 PM
#12
Could you explain what you mean by it doesn't work?
sr. member
Activity: 276
Merit: 250
September 03, 2013, 10:19:44 PM
#11
Sooo I backed up the wallet to a usb and deleted the original wallet.dat. But when I try to put it back into the directory, it doesn`t work for some reason :/
legendary
Activity: 1148
Merit: 1014
In Satoshi I Trust
September 02, 2013, 03:41:05 PM
#10
just copy the wallet.dat (and encrypt it) on a usb stick and you are fine. you dont need to copy the hole blockchain.
newbie
Activity: 10
Merit: 0
September 02, 2013, 12:45:45 PM
#9
You can swap out the wallet.dat

Use the -rescan option when starting the client to get the program to look at your transaction record in the blockchain. This will take some time though.

I recommend using http://electrum.org/ if you intend to move wallet files around and want a portable wallet program. The official client is not designed for what you want to do.

EDIT: Also if you use electrum you can create a wallet from a seed and this means you don't have to backup your wallet file multiple times (the seed is enough to recover the entire wallet no matter how many addresses are inside that wallet)

The official client requires the wallet file to be backed up every now and then to save the address pool that is always increasing, the seeded wallets do not have this issue.
hero member
Activity: 531
Merit: 501
September 02, 2013, 11:54:33 AM
#8
I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
I understand that. But you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.

The client spends a few minutes doing a rescan when you start with a different wallet. No big deal (or is it?)
legendary
Activity: 2058
Merit: 1452
September 02, 2013, 10:17:33 AM
#7
I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
I understand that. But you can't simply swap out wallet.dat files. Doing so will cause the client to "miss" transactions that appeared when the wallet was not present.

Edit: rescan happens automatically when swapping wallets so this is no longer an issue.
b!z
legendary
Activity: 1582
Merit: 1010
September 02, 2013, 09:20:46 AM
#6
So I wanna store all my coins on a 2gig USB [...]
This can't be done if you're using bitcoin-qt, because its data directory needs to be able to store the entire blockchain (10+ GB).

I think he wants to 'store his coins' by copying over wallet.dat, not copying the whole blockchain.
Copying over wallet.dat works fine.
hero member
Activity: 531
Merit: 501
September 01, 2013, 06:21:45 PM
#5
So I wanna store all my coins on a 2gig USB, but I am a total noob and technically challenged. Can someone explain step by step how to store coins on a usb or maybe provide a link?

The coins/keys are in the wallet.dat file. You can put that file on a USB and keep it in cold storage (i.e. offline) but you'll have to move it back to the Bitcoin directory on you computer if you want to spend the coins. However you can receive coins to addresses in the wallet without moving it from cold storage.
legendary
Activity: 2058
Merit: 1452
August 31, 2013, 05:25:40 PM
#4
run
Code:
bitcoin-qt.exe -datadir=F:\
where F is the drive letter of your USB drive.
more info: https://en.bitcoin.it/wiki/Running_Bitcoin
sr. member
Activity: 276
Merit: 250
August 31, 2013, 05:05:03 PM
#3
Oh ok. What about if I wanted to store an alt that had less than 10gb blockchain?
legendary
Activity: 2058
Merit: 1452
August 31, 2013, 04:36:56 PM
#2
So I wanna store all my coins on a 2gig USB [...]
This can't be done if you're using bitcoin-qt, because its data directory needs to be able to store the entire blockchain (10+ GB).
sr. member
Activity: 276
Merit: 250
August 31, 2013, 04:00:34 PM
#1
So I wanna store all my coins on a 2gig USB, but I am a total noob and technically challenged. Can someone explain step by step how to store coins on a usb or maybe provide a link?
Jump to: