Author

Topic: Storing and segregating Bitcoins (Read 712 times)

legendary
Activity: 4542
Merit: 3393
Vile Vixen and Miss Bitcointalk 2021-2023
December 06, 2012, 12:10:33 AM
#7
Question, what does wallet.dat look like?
I mean if I named it joe.txt could someone open it and know it's a wallet?
It looks like a Berkeley database file (because that's what it is), and renaming it won't fool anyone (which is to be expected, since renaming files never fools anyone). You should be using encryption to hide things you want hidden, not some stupid trick like this. Note that Bitcoin's built-in wallet encryption only encrypts the wallet's private keys (preventing anyone from spending your coins without the passphrase), it does not hide the fact that it is a wallet or even your public addresses. Encrypt your wallet again with another program (such as TrueCrypt) if you want to hide it.
newbie
Activity: 40
Merit: 0
December 05, 2012, 10:27:20 PM
#6
Question, what does wallet.dat look like?
I mean if I named it joe.txt could someone open it and know it's a wallet?
hero member
Activity: 784
Merit: 1000
Annuit cœptis humanae libertas
December 05, 2012, 06:42:56 PM
#5
Yes, I've done that as well, made an offline wallet with the private keys stored in 51-character WIF in a text file that is stored in a TrueCrypt. However, I hashed up the keys on an offline computer to keep them away from possible malware (even though I'm reasonably confident my main Winbloze system isn't compromised, it can't hurt to be too careful).
full member
Activity: 238
Merit: 100
December 05, 2012, 04:44:53 PM
#4
What I do is send all of my bitcoins I want to move to savings into a specific address that isn't even on my wallet. If I'm understanding this correctly, the wallet.dat file on the USB stick is just a backup of the one currently on your computer's bitcoin wallet, so here's what I would do:

1. Make another backup of your current wallet.dat
2. Open the bitcoin wallet, and create a new receiving address.
3. Send all the bitcoins you want to save to that address.
4. Go to help->debug->console
5. Type, dumpprivkey

6. Keep that private key on your usb stick instead of the wallet.dat
7. Go to appdata/bitcoin and restore your wallet.dat from step 1.

Now you have:
A Bitcoin wallet on computer for general bitcoin transactions, and a separate address not part of your wallet to send bitcoin savings. To spend the coins from the saving address, simply go to help->debug->console and type importprivkey

But that's just me.  Grin
legendary
Activity: 3472
Merit: 4801
December 05, 2012, 04:39:28 PM
#3
With the standard bitcoin client, you do not get to choose which bitcoins are spent from the wallet.  You might want to look into using something like blockchain.info online wallet for your spending account.  If you really want to use the reference client for the bitcoins you are going to spend, you can swap wallet.dat files, but you have to be extremely careful and be sure that you know exactly what you are doing.  If you accidentally lose track of which wallet.dat file is which and when it was last backed up, you can end up permanently losing access to your bitcoins.
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
December 05, 2012, 04:37:25 PM
#2
The coins that the standard client shows are the one in the wallet.dat file inside appdata/bitcoin

If you want to have another wallet.dat you must first remove that one, so the client will create a new one. MAKE SURE YOU HAVE A BACKUP OF IT! Yes, you said you backuped on the USB stick, it's fine, just make sure you never lose it!

newbie
Activity: 24
Merit: 0
December 05, 2012, 04:07:20 PM
#1
I recently purchased some Bitcoins as a speculative investment. I then bought a USB stick, made an encrypted folder on it and backup my wallet.dat file there.

My problem is that now I want to buy more BTC for some purchases, but I don’t want to spend the bitcoins that I previously purchased. I think what I have is just the standard Bitcoin wallet on my PC. Can I choose which bitcoins that I spend, so that I don’t use the bitcoins that I have backup on my USB stick?? 

Advice and suggestions appreciated,
Thanks!
Jump to: