Bitcoin Forum
November 07, 2024, 09:47:28 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Question about wallet  (Read 3494 times)
mrjoebruno (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
June 10, 2011, 09:17:45 PM
 #1

Does the wallet.dat need to be backed up after each transaction? Its not clear. I've back it up plenty of times and was just wondering if it was necessary after each new BTC received. I'm guessing yes but wanted to make sure.
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 10, 2011, 09:22:45 PM
 #2

I want to see the answers to this because I am so confused about the wallet! I just encrypted my wallet.dat, I think, using truecrypt. That is, I encrypted a BACKUP of wallet.dat. But the original wallet.dat is sitting there on my drive unencrypted and seemingly vulnerable as hell! I still don't get how to have a long-term, deep storage wallet and another spending money wallet.

Any help with this stuff would be most appreciated. Might even get a tip!
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1181


View Profile WWW
June 10, 2011, 09:25:12 PM
 #3

Each wallet already contains 100 "future" keys that aren't used yet, but will be for new transactions. If you have a backup and did at most 100 transactions (sent) since then, you should be fine.

I do Bitcoin stuff.
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 10, 2011, 09:32:48 PM
 #4

Question 1: Why should I generate new addresses?
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
June 10, 2011, 09:34:11 PM
 #5

You don't have to, but it's just default policy to use a new address for every transaction.
foo
Sr. Member
****
Offline Offline

Activity: 409
Merit: 250



View Profile
June 10, 2011, 10:17:09 PM
 #6

I want to see the answers to this because I am so confused about the wallet! I just encrypted my wallet.dat, I think, using truecrypt. That is, I encrypted a BACKUP of wallet.dat. But the original wallet.dat is sitting there on my drive unencrypted and seemingly vulnerable as hell! I still don't get how to have a long-term, deep storage wallet and another spending money wallet.

Any help with this stuff would be most appreciated. Might even get a tip!
Bitcoin will eventually encrypt wallet.dat, but it does not yet do that.

To have a secure "savings account" wallet, I would suggest installing Bitcoin inside a VirtualBox VM. That way any viruses on the host computer can't access the wallet. You only need to boot up the VM when you want to spend coins, you can receive them while Bitcoin isn't running, and check the balance on blockexplorer.com.

I know this because Tyler knows this.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
June 10, 2011, 10:33:30 PM
 #7

Does the wallet.dat need to be backed up after each transaction? Its not clear. I've back it up plenty of times and was just wondering if it was necessary after each new BTC received. I'm guessing yes but wanted to make sure.

No, because the client automaticly generates 100 keypairs for future use upon first boot.  It will use a new keypair with each send by default, and everytime that you hit the 'new address' button.  Those keypairs (and addresses) are good forever, so as long as you back up at least as often as once every 100 transactions you will be okay.
You can also tell it to make a lot more for you by starting it with
 the -keypool=somenumber switch.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
Dude65535
Full Member
***
Offline Offline

Activity: 126
Merit: 101


View Profile
June 10, 2011, 10:35:13 PM
 #8

Question 1: Why should I generate new addresses?

The practical reason is that it helps you know where the bitcoins came from. If you give each person you deal with a different address you know who sent the bitcoins by which address received them. The paranoid reason is that by using a different address each time it makes it harder to tell which transactions came or went from a single person.

You must backup again when the number of times you have sent coins + the number of new addresses you have created is 100 higher than the last time you backed up. For safety you should do so at 50 or earlier. If you want to be paranoid about wallet backups you should back up every time you make a new address or send bitcoins. Receiving bitcoins does not require a new backup.

The wallet stores proof of ownership of an address rather than the bitcoins. The bitcoins are stored on every computer with a copy of the block chain but your wallet is what allows you to spend yours.

The reason you may need a new backup after sending coins is that one or more group of coins you have received is sent with part going to the address you sent them to and the rest going back to you at a new address. If that new address is not in your old backup you will lose those bitcoins.

1DCj8ZwGZXQqQhgv6eUEnWgsxo8BTMj3mT
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
June 10, 2011, 10:36:18 PM
 #9

You don't have to, but it's just default policy to use a new address for every transaction.

Using a different address can improve your anonimity, but if you would rather just give a different address to each person that you transact with, those addresses are still good forever.  So you don't have to tell a new address to your friends just because you changed the address that the client displays.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 11, 2011, 01:35:34 AM
 #10

Question 2: Why does the client create a new address every time I receive coins?
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
June 11, 2011, 01:37:08 AM
 #11

Question 2: Why does the client create a new address every time I receive coins?

It doesn't.  It creates a new address every time you send coins, or ask it to do so.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 11, 2011, 01:54:25 AM
 #12

I'm pretty sure when I send coins from Mt Gox to my account the string in "Your Bitcoin address:" changes. You don't think so?
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
June 11, 2011, 02:09:43 AM
 #13

I'm pretty sure when I send coins from Mt Gox to my account the string in "Your Bitcoin address:" changes. You don't think so?

MtGox is not your wallet.  It's a website.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
June 11, 2011, 02:12:34 AM
 #14

No, because the client automaticly generates 100 keypairs for future use upon first boot. 
I think there is a bug that this isn't the case? I think you have to receive or send something first then wait a while...I think?

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 11, 2011, 02:15:43 AM
 #15

MtGox is not your wallet.  It's a website.

No, I'm saying the "Your bitcoin address:" in my local client. The address changes each time I receive coins from Mt Gox.
Dude65535
Full Member
***
Offline Offline

Activity: 126
Merit: 101


View Profile
June 11, 2011, 02:21:47 AM
 #16

I think it only changes the first time you receive coins at a new address and only if the address that received the coins is still the one displayed. This is to encourage you to use a new address for each transaction. This improves both your ability to track where your bitcoins came from and also your privacy.

1DCj8ZwGZXQqQhgv6eUEnWgsxo8BTMj3mT
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
June 11, 2011, 02:22:10 AM
 #17

MtGox is not your wallet.  It's a website.

No, I'm saying the "Your bitcoin address:" in my local client. The address changes each time I receive coins from Mt Gox.

Ah, must be a new thing.  I've never noticed my older client changing the address without me explicitly telling it to do so.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 11, 2011, 02:25:29 AM
 #18

I'm running 0.3.21-beta
2_Thumbs_Up
Sr. Member
****
Offline Offline

Activity: 323
Merit: 251


View Profile
June 11, 2011, 02:32:02 AM
 #19

Question 2: Why does the client create a new address every time I receive coins?
It does so because it's recommended to use a new adress for every transaction. Your old adresses are still valid though.
lonestranger
Member
**
Offline Offline

Activity: 115
Merit: 11


I like long walks on the beach, shaving my head...


View Profile
June 11, 2011, 02:40:47 AM
 #20

It does so because it's recommended to use a new adress for every transaction. Your old adresses are still valid though.

Yes, but why?
Pages: [1] 2 »  All
  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!