Bitcoin Forum
November 09, 2024, 02:15:24 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Storing coins in offline wallet  (Read 1580 times)
alnoor1231 (OP)
Sr. Member
****
Offline Offline

Activity: 276
Merit: 250


View Profile
August 31, 2013, 09: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?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
August 31, 2013, 09: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).

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
alnoor1231 (OP)
Sr. Member
****
Offline Offline

Activity: 276
Merit: 250


View Profile
August 31, 2013, 10:05:03 PM
 #3

Oh ok. What about if I wanted to store an alt that had less than 10gb blockchain?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
August 31, 2013, 10: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

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
meanig
Hero Member
*****
Offline Offline

Activity: 531
Merit: 501


View Profile
September 01, 2013, 11: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.
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
September 02, 2013, 02:20:46 PM
 #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.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
September 02, 2013, 03:17:33 PM
Last edit: September 25, 2013, 08:17:34 PM by grue
 #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.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
meanig
Hero Member
*****
Offline Offline

Activity: 531
Merit: 501


View Profile
September 02, 2013, 04:54:33 PM
 #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?)
testtesttest1234
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 02, 2013, 05: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.
LiteCoinGuy
Legendary
*
Offline Offline

Activity: 1148
Merit: 1014


In Satoshi I Trust


View Profile WWW
September 02, 2013, 08: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.

alnoor1231 (OP)
Sr. Member
****
Offline Offline

Activity: 276
Merit: 250


View Profile
September 04, 2013, 03:19:44 AM
 #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 :/
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
September 04, 2013, 09:52:35 PM
 #12

Could you explain what you mean by it doesn't work?

jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
September 04, 2013, 10:08:04 PM
 #13

it doesn`t work for some reason :/
It should work

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
BittBurger
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1001


View Profile
September 23, 2013, 07: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.


Owner: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
View it on the Blockchain | Genesis Block Newspaper Copies
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
September 23, 2013, 07: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.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
BittBurger
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1001


View Profile
September 23, 2013, 07: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. 

Owner: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
View it on the Blockchain | Genesis Block Newspaper Copies
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
September 25, 2013, 08: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.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
September 25, 2013, 08: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

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
September 25, 2013, 08: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.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
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!