Bitcoin Forum
October 23, 2018, 12:05:30 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   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 1107 times)
shark255
Full Member
***
Offline Offline

Activity: 233
Merit: 100



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.
1540253130
Hero Member
*
Offline Offline

Posts: 1540253130

View Profile Personal Message (Offline)

Ignore
1540253130
Reply with quote  #2

1540253130
Report to moderator
1540253130
Hero Member
*
Offline Offline

Posts: 1540253130

View Profile Personal Message (Offline)

Ignore
1540253130
Reply with quote  #2

1540253130
Report to moderator
1540253130
Hero Member
*
Offline Offline

Posts: 1540253130

View Profile Personal Message (Offline)

Ignore
1540253130
Reply with quote  #2

1540253130
Report to moderator
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1470
Merit: 1276


No I dont escrow anymore.


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
Merit: 0


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: 2380
Merit: 1043


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!