Bitcoin Forum
December 13, 2024, 08:03:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about change addresses  (Read 457 times)
NorrisK (OP)
Legendary
*
Offline Offline

Activity: 1946
Merit: 1007



View Profile
January 22, 2016, 08:49:07 AM
 #1

Lets say i'm using electrum wallet and did a couple of transactions. Some change get send to new addresses.

I then lose access to the wallet.dat file and I need to recover the bitcoins using the seed from setting up the wallet.

Is the change also available through this seed? Or are they on new private keys that are only accessible through the wallet.dat file?
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
January 22, 2016, 08:50:56 AM
 #2

Lets say i'm using electrum wallet and did a couple of transactions. Some change get send to new addresses.

I then lose access to the wallet.dat file and I need to recover the bitcoins using the seed from setting up the wallet.

Is the change also available through this seed? Or are they on new private keys that are only accessible through the wallet.dat file?

There's not wallet.dat for electrum (afaik). And yes, the change addresses are also generated with the seed you got from electrum, so no worries Wink


Edit:
If i understand everything correctly, electrum will start generating addresses based on your seed, it will always make sure there are at least 'x' unused addresses. So when you restore the wallet from seed, electrum keeps on generating addresses with your seed untill it has 'x' unused addresses, generating the change addresses in the meantime (they're all used offcourse, since they contain change)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NorrisK (OP)
Legendary
*
Offline Offline

Activity: 1946
Merit: 1007



View Profile
January 22, 2016, 08:53:14 AM
 #3

Lets say i'm using electrum wallet and did a couple of transactions. Some change get send to new addresses.

I then lose access to the wallet.dat file and I need to recover the bitcoins using the seed from setting up the wallet.

Is the change also available through this seed? Or are they on new private keys that are only accessible through the wallet.dat file?

There's not wallet.dat for electrum (afaik). And yes, the change addresses are also generated with the seed you got from electrum, so no worries Wink

Thanks for the fast answer Smiley So that means that the change keys generated are always dervied from the seed words?

There is a wallet.dat file for electrum, it is called electrum.dat though, but it is basically the same as the wallet.dat file.
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
January 22, 2016, 08:55:46 AM
 #4

Lets say i'm using electrum wallet and did a couple of transactions. Some change get send to new addresses.

I then lose access to the wallet.dat file and I need to recover the bitcoins using the seed from setting up the wallet.

Is the change also available through this seed? Or are they on new private keys that are only accessible through the wallet.dat file?

There's not wallet.dat for electrum (afaik). And yes, the change addresses are also generated with the seed you got from electrum, so no worries Wink

Thanks for the fast answer Smiley So that means that the change keys generated are always dervied from the seed words?

There is a wallet.dat file for electrum, it is called electrum.dat though, but it is basically the same as the wallet.dat file.

That's why i said "as far as i know" Wink
I know electrum saves something on your HD, but if i'm not mistaking, it's just the labels you gave to the addresses and transactions... they will be lost after rebuilding

But you can rest assured, the change addy's will be generated (i know from experience, i've rebuilt my wallet a couple of times already)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
torusJKL
Hero Member
*****
Offline Offline

Activity: 619
Merit: 500


View Profile
January 22, 2016, 11:54:05 AM
 #5

Yes, change addresses are derived from the seed.
You can read all about BIP32 here.

If you find my post useful send some Bitcoin: 167XM1Za8aG9CdbYuHFMpL2kvPsw6uC8da
Bitrated || bitcoin-otc || Moon Bitcoin Faucet
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!