Bitcoin Forum
April 19, 2018, 03:44:57 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   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
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?
1524152697
Hero Member
*
Offline Offline

Posts: 1524152697

View Profile Personal Message (Offline)

Ignore
1524152697
Reply with quote  #2

1524152697
Report to moderator
1524152697
Hero Member
*
Offline Offline

Posts: 1524152697

View Profile Personal Message (Offline)

Ignore
1524152697
Reply with quote  #2

1524152697
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524152697
Hero Member
*
Offline Offline

Posts: 1524152697

View Profile Personal Message (Offline)

Ignore
1524152697
Reply with quote  #2

1524152697
Report to moderator
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1442
Merit: 1219


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

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: 2226
Merit: 1014


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!