Bitcoin Forum
May 25, 2024, 10:04:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Restore from seed question  (Read 735 times)
PieStick (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 25, 2013, 06:50:25 PM
 #1

When I first found Electrum, I transfered in a small number of coins, deleted my wallet and then practiced restoring from my seed. It worked great and all the original addresses/coins were there. I was impressed with how easy everything was.

Now that I have been using it for a while, I have 50+ addresses. If I need to restore from my seed in the future, how will the client 'know' about all newly created addresses? With the original client, I know the wallet needs to be backed up each time new addresses are created. If this is not true with Electrum, how does it work? Does Electrum just use my seed to re-add addresses 1 at a time until there are 5 unused addresses in the list? How are Change addresses differentiated from receiving addresses?

I love the deterministic wallet idea, just a little confused how it works. Thanks.
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
April 26, 2013, 08:12:06 AM
 #2

Quote
Does Electrum just use my seed to re-add addresses 1 at a time until there are 5 unused addresses in the list?

Basically this is actually what it does, presuming your gap limit is set to five. I'm not sure how change addresses are differentiated internally at the moment, so I will leave that question open.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
jag2k2
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
April 27, 2013, 07:50:07 PM
 #3

Yeah I use Electrum too and was wondering the exact same thing.  Would love an answer.

I believe that banking institutions are more dangerous to our liberties than standing armies... The issuing power should be taken from the banks and restored to the people, to whom it properly belongs. - Thomas Jefferson
jubalix
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
April 28, 2013, 12:45:44 AM
 #4

ok, my current understanding (feel free to shoot me down)

there is a function call, something like

pseudo.random();

that give you the instal seed.

then based on this initial seed all the following private keys and addresses are calculated, and it is deterministic. So the same private keys and addresses will be produced every time you use that seed.

the weakness is, if some one get your seed, your whole wallet is gone.
the intial random event was it random enough

and if you keep makeing addresses from the same seed, it may become easier to figure out the privkey

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
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!