Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: nubbins7 on July 17, 2015, 11:37:44 PM



Title: Backing Up Wallet Question
Post by: nubbins7 on July 17, 2015, 11:37:44 PM
I have been needed to know this for some time lol here we go let's say for EXP.. i have 10000 Doge coins and
i backup my wallet.dat file and a few days later i end up with 50000 Doge coins my question is ever time i put more
crypto into my wallet do i need to backup the wallet every time? or am i good with the first backup? thanks fore the info :)


Title: Re: Backing Up Wallet Question
Post by: achow101 on July 18, 2015, 12:12:33 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.


Title: Re: Backing Up Wallet Question
Post by: nubbins7 on July 18, 2015, 04:03:36 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.

Ok great thanks for getting back to me this helps out.


Title: Re: Backing Up Wallet Question
Post by: d4n13 on July 18, 2015, 06:22:54 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.
You touched on a question I had for a while now... at least one I was about ask..

Q1) How do you know how many keys are left in your pool?

Q2) How do you see the keys in your pool (dumpwallet?)


Title: Re: Backing Up Wallet Question
Post by: newb4now on July 18, 2015, 09:06:05 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.

Are you sure DOGE does not have a client that can create deterministic wallets? I dont know the answer but would be surprised if they did not. Better safe than sorry until you find out for sure


Title: Re: Backing Up Wallet Question
Post by: Muhammed Zakir on July 18, 2015, 09:26:46 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.

Are you sure DOGE does not have a client that can create deterministic wallets? I dont know the answer but would be surprised if they did not. Better safe than sorry until you find out for sure

There are apps to create HD wallets for Doge. However, knightdk (and probably, nubbins7 too) was talking about Bitcoin-qt and similar wallets.


Title: Re: Backing Up Wallet Question
Post by: ranochigo on July 18, 2015, 12:12:55 PM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.
Based on my observation, Bitcoin Core pregenerated 100 address everytime you key in the password or do anything with the wallet thus ensuring that the mempool stays at 100 addresses at all times. HD wallet solves this problem.

You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.
You touched on a question I had for a while now... at least one I was about ask..

Q1) How do you know how many keys are left in your pool?

Q2) How do you see the keys in your pool (dumpwallet?)
Q1 Go to debug window and use getwalletinfo you will be able to see your key pool size.
Q2 I doubt there is anyway to see the pregenerated address. The only thing you can do is to see those already generated even if there is no TX by entering listreceivedbyaddress 0 true.


Title: Re: Backing Up Wallet Question
Post by: achow101 on July 18, 2015, 03:25:28 PM
Q1) How do you know how many keys are left in your pool?
use the getwalletinfo command. It shows the keypool size

Q2) How do you see the keys in your pool (dumpwallet?)
You can use other software such as pywallet to dump your wallet into human-readable format. You can see all of the addresses it contains and whether they are in use or not. Addresses that are labeled as reserve:1 is unused.

Based on my observation, Bitcoin Core pregenerated 100 address everytime you key in the password or do anything with the wallet thus ensuring that the mempool stays at 100 addresses at all times. HD wallet solves this problem.
It will only generate new keys when the keypool runs out or the encryption is changed. Adding a password and changing it will have it regenerate the keypool AFAIK.


Title: Re: Backing Up Wallet Question
Post by: nubbins7 on July 21, 2015, 12:33:28 AM
Thanks too everyone who is putting some input here :) a lot
of tech stuff i see. I am using the Doge Core Wallet i guess i will
just backup my wallet every 50 to 100 addresses used to be safe.


Title: Re: Backing Up Wallet Question
Post by: nubbins7 on July 21, 2015, 02:17:51 AM
You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.
Based on my observation, Bitcoin Core pregenerated 100 address everytime you key in the password or do anything with the wallet thus ensuring that the mempool stays at 100 addresses at all times. HD wallet solves this problem.

You should be fine with the first backup. You only need the private key to spend the coin. However, if the wallet.dat is anything like Bitcoin's, after you use 100 addresses, you need to backup again because it will generate another 100 addresses for the keypool. If you don't backup, you could lose those coins since the keys are generated randomly not deterministically.
You touched on a question I had for a while now... at least one I was about ask..

Q1) How do you know how many keys are left in your pool?

Q2) How do you see the keys in your pool (dumpwallet?)
Q1 Go to debug window and use getwalletinfo you will be able to see your key pool size.
Q2 I doubt there is anyway to see the pregenerated address. The only thing you can do is to see those already generated even if there is no TX by entering listreceivedbyaddress 0 true.

I just checked the Doge Core wallet and it showed my key pool size so i see i am good to go with the Doge wallet. I also checked some other qt's i have and there is no option
for it so i am guess with those type of wallets i don't have too backup every 100 addresses used?