Author

Topic: Basic question: where wallet data is gathered from when restoring from seed? (Read 752 times)

hero member
Activity: 868
Merit: 1000

I know Electrum is a HD (hierarchical deterministic) wallet, and all of my addresses are derived solely from the initial seed.

So, my problem is, say if I have generated 2000 addresses and used them to receive and send bitcoin, when I use my seed to "restore" the wallet, will it know I have used 2000 addresses or do I need to manually "re-generate" the 2000 addresses?

Until 2.0 version arrives Electrum is not a HD (hierarchical deterministic) wallet.

Electrum has a gap limit that is used to stop looking for addresses in your deterministic seed. It looks for unused addresses, so if the first 1000 addresses you used haven't receive any bitcoin it will stop there, and you'll need to set a higher gap limit to look for all those you've created after that limit.

2.0 will introduce a better way for merchants that deal with that many addresses, but the number of addresses created will need to be recorded as no gap limit for that wallet will be set in advanced.

I see.
Thanks for your clarification Cheesy
hero member
Activity: 715
Merit: 500
Bitcoin Venezuela

I know Electrum is a HD (hierarchical deterministic) wallet, and all of my addresses are derived solely from the initial seed.

So, my problem is, say if I have generated 2000 addresses and used them to receive and send bitcoin, when I use my seed to "restore" the wallet, will it know I have used 2000 addresses or do I need to manually "re-generate" the 2000 addresses?

Until 2.0 version arrives Electrum is not a HD (hierarchical deterministic) wallet.

Electrum has a gap limit that is used to stop looking for addresses in your deterministic seed. It looks for unused addresses, so if the first 1000 addresses you used haven't receive any bitcoin it will stop there, and you'll need to set a higher gap limit to look for all those you've created after that limit.

2.0 will introduce a better way for merchants that deal with that many addresses, but the number of addresses created will need to be recorded as no gap limit for that wallet will be set in advanced.
hero member
Activity: 868
Merit: 1000
The seed is used to calculate your private keys. From your private keys they derive the public key and the address which is a hash of the public key. Bitcoin is a ledger based payment system. All transactions are stored in the ledger called the blockchain. Electrum does not require you to have a local copy of the blockchain. Instead it queries 3rd party electrum servers for transaction data using your addresses. You can find out which server you are connected to by clicking on the green icon in the bottom right or switching to the console tab of the electrum window.

I know Electrum is a HD (hierarchical deterministic) wallet, and all of my addresses are derived solely from the initial seed.

So, my problem is, say if I have generated 2000 addresses and used them to receive and send bitcoin, when I use my seed to "restore" the wallet, will it know I have used 2000 addresses or do I need to manually "re-generate" the 2000 addresses?
legendary
Activity: 3612
Merit: 1564
The seed is used to calculate your private keys. From your private keys they derive the public key and the address which is a hash of the public key. Bitcoin is a ledger based payment system. All transactions are stored in the ledger called the blockchain. Electrum does not require you to have a local copy of the blockchain. Instead it queries 3rd party electrum servers for transaction data using your addresses. You can find out which server you are connected to by clicking on the green icon in the bottom right or switching to the console tab of the electrum window.
legendary
Activity: 1078
Merit: 1016
760930
All I need to remember is my 12 words. So far so good. So if I install a new client and restore my wallet from where my wallet data with all my addresses are restored from?

The 'cloud', something inherent to the bitcoin network or something inherent to the Electrum network?

Electrum's official beginner's manual is too technical for me, thanks.

The 'cloud' is simply the regular blockchain.
full member
Activity: 151
Merit: 105
Those 12 words 'determine' all the possible addresses for your wallet by being part of a cryptographic formula native to the Electrum client.  There is no server-side access to your passwords or your seed words.  
sr. member
Activity: 302
Merit: 250
All I need to remember is my 12 words. So far so good. So if I install a new client and restore my wallet from where my wallet data with all my addresses are restored from?

The 'cloud', something inherent to the bitcoin network or something inherent to the Electrum network?

Electrum's official beginner's manual is too technical for me, thanks.
Jump to: