Bitcoin Forum
May 12, 2024, 03:30:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Will Electrum regenerate all change addresses from seed?  (Read 3485 times)
d9000 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile
December 12, 2013, 04:02:11 PM
 #1

If I set up an Electrum wallet from a brain wallet seed, do a transaction where a change address is created, then delete the wallet file, will the change addresses always be recreated from seed?

I'm concerned after reading this:

http://www.reddit.com/r/Bitcoin/comments/1bd1d1/i_think_i_just_lost_90btc_are_they_stolen_help/

If Electrum acts as I have described above, can someone explain what is different about Multibit that they would have lost their change address private key?  Was a completely new wallet created just for the change address?
1715484619
Hero Member
*
Offline Offline

Posts: 1715484619

View Profile Personal Message (Offline)

Ignore
1715484619
Reply with quote  #2

1715484619
Report to moderator
1715484619
Hero Member
*
Offline Offline

Posts: 1715484619

View Profile Personal Message (Offline)

Ignore
1715484619
Reply with quote  #2

1715484619
Report to moderator
1715484619
Hero Member
*
Offline Offline

Posts: 1715484619

View Profile Personal Message (Offline)

Ignore
1715484619
Reply with quote  #2

1715484619
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715484619
Hero Member
*
Offline Offline

Posts: 1715484619

View Profile Personal Message (Offline)

Ignore
1715484619
Reply with quote  #2

1715484619
Report to moderator
flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1016

760930


View Profile
December 12, 2013, 08:25:42 PM
 #2

Yes, Electrum regenerates all addresses, including change, from the seed.
This is what deterministic wallets are about, and is one of the major differences between Electrum and MultiBit or Bitcoin-Qt (although they are also working to implement deterministic wallets in future versions.)
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
December 12, 2013, 11:39:07 PM
 #3

If I set up an Electrum wallet from a brain wallet seed, do a transaction where a change address is created, then delete the wallet file, will the change addresses always be recreated from seed?

I'm concerned after reading this:

http://www.reddit.com/r/Bitcoin/comments/1bd1d1/i_think_i_just_lost_90btc_are_they_stolen_help/

If Electrum acts as I have described above, can someone explain what is different about Multibit that they would have lost their change address private key?  Was a completely new wallet created just for the change address?


That guy lost coins because he went the manual paper wallet route. You are relying on a full fledged offline wallet so you won't face this problem if you are careful.

You need two things:

- The seed

- A copy of electrum to recreate the wallet from seed.

Now as far as new change addresses go you might need to give electrum a little hint that it should generate those addresses. It can always do that as long as you have the seed. It just needs a little push in the right direction:

https://bitcointalk.org/index.php?topic=344115.msg3690179#msg3690179
d9000 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile
December 13, 2013, 03:09:40 AM
 #4

I see, thanks.

So even if the change address does not show up in the Electrum wallet for whatever reason, it could eventually be found/generated deterministically by increasing the gap limit?
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
December 13, 2013, 03:19:34 AM
 #5

I see, thanks.

So even if the change address does not show up in the Electrum wallet for whatever reason, it could eventually be found/generated deterministically by increasing the gap limit?


Yes it can be found deterministically but not by increasing the gap limit. The gap limit that you can set only affects addresses in the main wallet. The gap limit for change addresses is fixed at 3. So you just run that create_new_address(1) command to generate new change addresses.

But yeah the point is that the seed and a copy of the electrum is all you really need.
d9000 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile
December 13, 2013, 04:25:21 PM
 #6

Got it, thanks!
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!