Bitcoin Forum
December 17, 2017, 08:22:39 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What if I backed up wallet.dat, after that create some new addresses ?  (Read 1101 times)
shark255
Full Member
***
Offline Offline

Activity: 234



View Profile
November 10, 2014, 01:09:23 PM
 #1

What if I backed up wallet.dat, after that create some new addresses on active copy of wallet.dat,
then run bitcoin-qt on old wallet.dat? Will I see my new addresses?

Выкупаю ВТС для своего проекта. Только опт. Предложу лучший процент. Строго через ПМ форума.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
shorena
Legendary
*
Offline Offline

Activity: 1400


ALL escrow is signed! https://keybase.io/verify


View Profile WWW
November 10, 2014, 01:16:32 PM
 #2

What if I backed up wallet.dat, after that create some new addresses on active copy of wallet.dat,
then run bitcoin-qt on old wallet.dat? Will I see my new addresses?

Maybe.

Your wallet.dat has 100 pregenerated addresses unless you changed that with keypool=X [1]. So if you backup and generated address number 101 you have a problem. If you had 99 or less addresses allready shown to you, you are fine.



[1] Note that you need to unlock your wallet for this to work.

Full House
Newbie
*
Offline Offline

Activity: 18

Pro gambler


View Profile
November 10, 2014, 04:28:05 PM
 #3

What if I backed up wallet.dat, after that create some new addresses on active copy of wallet.dat,
then run bitcoin-qt on old wallet.dat? Will I see my new addresses?

Maybe.

Your wallet.dat has 100 pregenerated addresses unless you changed that with keypool=X [1]. So if you backup and generated address number 101 you have a problem. If you had 99 or less addresses allready shown to you, you are fine.



[1] Note that you need to unlock your wallet for this to work.

I had no idea 100 addresses we're pre-generated. Thanks for the tip bro
bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
December 21, 2014, 11:30:18 AM
 #4

You can also increase the pool with a command line argument

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!