Bitcoin Forum
November 09, 2024, 05:28:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: wallet.dat questions  (Read 1269 times)
CtrlAltBernanke420 (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
June 04, 2013, 04:17:49 PM
 #1

Here is the scenairo(s) I want to play out here.

I buy 3.0 bitcoin on Mtgox, I open Bitcoinqt.

I transfer 3.0BTC to Qt wallet address.

I save my wallet.dat file onto a USBdrive. I disconnect zip drive from computer.

I send 2 btc to another address. Current address has 1 bitcoin. Do I need to backup the current wallet.dat file in the library to the USBdrive, if i intend to delete wallet.dat file once I done with my transactions for the day.


Next scenario, Current wallet.dat file on zip drive has 1 btc in it, If i send 5 more btc to that wallet, do I need to combine any wallets.

akabmikua
Full Member
***
Offline Offline

Activity: 223
Merit: 100



View Profile
June 04, 2013, 04:29:07 PM
 #2

Here is the scenairo(s) I want to play out here.

I buy 3.0 bitcoin on Mtgox, I open Bitcoinqt.

I transfer 3.0BTC to Qt wallet address.

I save my wallet.dat file onto a USBdrive. I disconnect zip drive from computer.

I send 2 btc to another address. Current address has 1 bitcoin. Do I need to backup the current wallet.dat file in the library to the USBdrive, if i intend to delete wallet.dat file once I done with my transactions for the day.

Next scenario, Current wallet.dat file on zip drive has 1 btc in it, If i send 5 more btc to that wallet, do I need to combine any wallets.

You need not merge any wallet.dat or anything. Just on the PC you will place this wallet.dat, you will have to download the next parts of the Blockchain.

Bitcoin is NOT based on wallet.dat files but addresses. That address has those BTC's and Transactions.

BTC: 16V3WVdW1oXbgAdDHKHdvJ9Msm4CSDrigf
Always, respect. Join CEX.IO and we both get advatage.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 04, 2013, 04:53:39 PM
 #3

You need not merge any wallet.dat or anything. Just on the PC you will place this wallet.dat, you will have to download the next parts of the Blockchain.

Bitcoin is NOT based on wallet.dat files but addresses. That address has those BTC's and Transactions.

While the advice is sound, the details are mis-leading.

With default settings, Bitcoin-Qt pre-generates the next 100 addresses (and their private keys) that it will use and stores them hidden from you in the wallet.dat file.

Each time you use a new address, Bitcoin-Qt grabs the next one from this queue, and generates a new one to add to the queue so there are still 100 unused addresses pre-generated.

This means that when you backed up your wallet.dat to the USB, you didn't just back up the addresses you are currently using, but the next 100 address you will use as well.

When you restore the wallet, it will compare it's list of addresses (including the 100 that were previously unused) to all the addresses that are in use in the blockchain.  If the wallet finds any transactions in the blockchain sending to or from any of the addresses in the backup, it will recognize those addresses as "in use" and will move them from being in the queue to the list of used addresses.

Note that your wallet will create a new "in use" address every time you create a transaction to send bitcoins and will send the change there.

This means that if, after backing up, the sum of the receiving addresses you create plus the number of transactions you create is greater than 100 then your bitcoins will have moved to an address that was not backed up.  In this case your bitcoins will be permanently lost if you delete the wallet.dat and don't have a more recent backup.

As such it is a good idea to perform backups on a regular basis and keep the most recent few backups.
Polyatomic
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
June 09, 2013, 11:11:14 AM
Last edit: June 15, 2013, 04:52:42 AM by Polyatomic
 #4

Is it possible to have Two wallets using the same wallet.dat file ?

For example , can I import my Bitcoin-qt 0.8.1 wallet.dat to Blockchain.info while waiting for Bitcoin-qt to download the blockchain after restoring it from a back up.

Or would this just be a pain in the backside.
KSV
Sr. Member
****
Offline Offline

Activity: 398
Merit: 250


SVERIGES VIRTUELLA VALUTAVÄXLING


View Profile WWW
June 09, 2013, 11:15:12 AM
 #5

nope, u need a backup every 100 xfers.

Trade Bitcoins @ FYB-SE ---> https://www.fybse.se
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
June 09, 2013, 07:09:14 PM
 #6

nope, u need a backup every 100 xfers.
or use "keypool=9000" in bitcoin.conf. (your backup will be good for 9000 transactions)

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

Adblock for annoying signature ads | Enhanced Merit UI
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
June 10, 2013, 07:13:57 AM
 #7

nope, u need a backup every 100 xfers.
or use "keypool=9000" in bitcoin.conf. (your backup will be good for 9000 sent transactions)

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.
KSV
Sr. Member
****
Offline Offline

Activity: 398
Merit: 250


SVERIGES VIRTUELLA VALUTAVÄXLING


View Profile WWW
June 10, 2013, 10:13:37 AM
 #8

nope, u need a backup every 100 xfers.
or use "keypool=9000" in bitcoin.conf. (your backup will be good for 9000 transactions)

oh sweet, thanks.

is 9000 the max?

Trade Bitcoins @ FYB-SE ---> https://www.fybse.se
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
June 10, 2013, 01:16:46 PM
 #9

oh sweet, thanks.

is 9000 the max?
You can set it as high as you want (to a reasonable limit). But that is not recommended because if your wallet in compromised, you will have to get a new wallet, since your future 9000 addresses will be compromised as well. Like jackjack said, if you set keypool=x, it will be good for x sent transactions. I highly doubt you have such high transaction volume to justify a large keypool size, so 500 is more than enough. Just make sure to execute 'keypoolrefill' in the debug console before a backup to ensure maximum backup freshness. Tongue

nope, u need a backup every 100 xfers.
or use "keypool=9000" in bitcoin.conf. (your backup will be good for 9000 sent transactions)
*at least 9000 sent transactions. Tongue (there's a slight possibility that inputs == desired outputs)

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

Adblock for annoying signature ads | Enhanced Merit UI
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 10, 2013, 02:56:28 PM
 #10

oh sweet, thanks.

is 9000 the max?
You can set it as high as you want (to a reasonable limit). But that is not recommended because if your wallet in compromised, you will have to get a new wallet, since your future 9000 addresses will be compromised as well. Like jackjack said, if you set keypool=x, it will be good for x sent transactions. I highly doubt you have such high transaction volume to justify a large keypool size, so 500 is more than enough. Just make sure to execute 'keypoolrefill' in the debug console before a backup to ensure maximum backup freshness. Tongue

nope, u need a backup every 100 xfers.
or use "keypool=9000" in bitcoin.conf. (your backup will be good for 9000 sent transactions)
*at least 9000 sent transactions. Tongue (there's a slight possibility that inputs == desired outputs)
* approximately 9000 sent transactions. Tongue (each new receiving address will use an address from the keypool as well).
farproc
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


ALGORY.io Crowdsale starts on 8/12/2017


View Profile
June 11, 2013, 09:18:38 AM
 #11

Paper wallet or brain wallet instead.

.
            ▀███████████████▄▄
              █████████████████
               █████████████████
                █████████████████
                 █████████████████
                  █████████████████
        ▄▄▄▄       █████████████████
    ▄██████████▄    █████████████████
   ██████████████    █████████████████
  ████████████████    █████████████████
 ██████████████████    █████████████████
 ██████████████████     █████████████████
 ██████████████████      █████████████████
  ████████████████        █████████████████
   ██████████████          █████████████████
    ▀██████████▀            ▀████████████████▄
       ▀▀▀▀▀▀ 
ALGORY  Multifunctional Tool for Cryptocurrency Trading 
Join Whitelist and Get 20% Bonus┃CROWDSALE ON DEC. 8
           ░████████████▒
       ░████████████████████░
     ░████████████████████████▒
   ░████████████████████████████░
  ░██████████████████   █████████▒
 ░███████████████      ▒██████████░
 █████████████         ████████████
░██████████            ████████████░
░██████                ████████████▒
░█████████████▒▒      ▒████████████▒
 ████████████████     █████████████░
 ▒████████████████    ████████████▒
  ▒████████████████▒  ████████████
   ░█████████████████ ██████████▒
     ██████████████████████████░
       ▒█████████████████████
          ░██████████████▒
kodo
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
June 12, 2013, 10:53:11 PM
 #12

Use a paper wallet its 100% more safe.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
June 12, 2013, 10:56:39 PM
 #13

Use a paper wallet its 100% more safe.
Not 100%

Lose the paper, you're dead.
Keep it in the pocket before washing, you're dead.
Too much wind, you're dead.
A relative comes and see it, you're dead.
Mice, you're dead.
Stupid dog, you're dead.



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.
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!