Author

Topic: Why Electrum has 20 receiving addresses and 6 change addresses? (Read 303 times)

legendary
Activity: 2366
Merit: 2054
Quote
still had 29 receiving addresses/6 change addresses.
just choose one address for received bitcoin on tab and copy to notepad.
only address not privkey. Tell your friend to send btc to your selected one.
forgeted 28 address on table Because all address appears for user select the best one to make easy use
legendary
Activity: 2730
Merit: 7065
I don't have verified the signature, what is it?
It is important to verify the signatures to make sure that the version you have downloaded belongs to the right developer, in this case to ThomasV.

Follow this guide posted here on Bitcointalk > https://bitcointalksearch.org/topic/how-to-verify-your-electrum-wallet-on-windows-4183993
Or use this > https://bitcoinelectrum.com/how-to-verify-your-electrum-download/
legendary
Activity: 3710
Merit: 1586
can you check your browser history and confirm the exact url you downloaded electrum from? also do you see a green orb in the bottom right?
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
-snip-
That's weird... i always use the first command only and it always works. I have done this hundreds of times, last one was yesterday.....
Maybe something to do with the linux's root access?
But it's weird that it "partially worked" for Claire927, it generated/displayed 9 more addresses: 29 from 20.

But I'm sure, If you're using Windows, you don't have to use the second command for the gap_limit setting change to persist.
full member
Activity: 340
Merit: 164
still had 29 receiving addresses/6 change addresses.
djhomeschool missed an important command... You need to use wallet.storage.write() after you use the change_gap_limit() command

So on the console type the following commands one after the other... Then close and restart Electrum. That should set the gap limit to 200 and persist the change to the wallet file.
Code:
wallet.change_gap_limit(200)
wallet.storage.write()

That's weird... i always use the first command only and it always works. I have done this hundreds of times, last one was yesterday.....
HCP
legendary
Activity: 2086
Merit: 4363
still had 29 receiving addresses/6 change addresses.
Maybe try the menu option "wallet -> addresses -> filter" and check that both boxes are set to "all"... Its possible that the filter is preventing all your unused addresses from being shown.

full member
Activity: 340
Merit: 164
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?

No you should be able to see all addresses created. Did the console return "True" when you did the command? Did you close and re-open the same Electrum wallet?

Yes, I totally followed these steps exactly and I tried twice.

If you followed these steps you should have 200 addresses in the "Addresses" tab.
You can also check your addresses by opening the console and typing "listaddresses()" without the quotes.

still had 29 receiving addresses/6 change addresses.

Then something went wrong.... always works on my side...
Maybe ThomasV can shed some light on this.
newbie
Activity: 8
Merit: 0
Claire927, do not play with address gap limit because this is really unnecessary at this point for you. Electrum is generated quite enough addresses and developer is decided that that number is exactly as you see it.

In case you play with gap limits you can increase number of address, but in case you at some point need to recover your wallet from seed, you will need to do same procedure again. Otherwise, it may happen that wallet is not show correct balance because it does not see all addresses.

OK, thank you.
legendary
Activity: 3234
Merit: 5637
Blackjack.fun-Free Raffle-Join&Win $50🎲
Claire927, do not play with address gap limit because this is really unnecessary at this point for you. Electrum is generated quite enough addresses and developer is decided that that number is exactly as you see it.

In case you play with gap limits you can increase number of address, but in case you at some point need to recover your wallet from seed, you will need to do same procedure again. Otherwise, it may happen that wallet is not show correct balance because it does not see all addresses.
newbie
Activity: 8
Merit: 0
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?

No you should be able to see all addresses created. Did the console return "True" when you did the command? Did you close and re-open the same Electrum wallet?

Yes, I totally followed these steps exactly and I tried twice.

If you followed these steps you should have 200 addresses in the "Addresses" tab.
You can also check your addresses by opening the console and typing "listaddresses()" without the quotes.

still had 29 receiving addresses/6 change addresses.
full member
Activity: 340
Merit: 164
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?

No you should be able to see all addresses created. Did the console return "True" when you did the command? Did you close and re-open the same Electrum wallet?

Yes, I totally followed these steps exactly and I tried twice.

If you followed these steps you should have 200 addresses in the "Addresses" tab.
You can also check your addresses by opening the console and typing "listaddresses()" without the quotes.
newbie
Activity: 8
Merit: 0
Thank you so much, I understand it now, and I'm also curious about why the number is 20/6,not 17/3, etc.

I am not Electrum dev, but a common sense guess would be that there are some numbers ThomasV thought they are good to start with.
I am not aware and I would also not expect he would publish a comprehensive research based on which he picked those numbers Smiley

Thank you, I agree.
newbie
Activity: 8
Merit: 0
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?

No you should be able to see all addresses created. Did the console return "True" when you did the command? Did you close and re-open the same Electrum wallet?

Yes, I totally followed these steps exactly and I tried twice.
full member
Activity: 340
Merit: 164
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?

No you should be able to see all addresses created. Did the console return "True" when you did the command? Did you close and re-open the same Electrum wallet?
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
Thank you so much, I understand it now, and I'm also curious about why the number is 20/6,not 17/3, etc.

I am not Electrum dev, but a common sense guess would be that there are some numbers ThomasV thought they are good to start with.
I am not aware and I would also not expect he would publish a comprehensive research based on which he picked those numbers Smiley
newbie
Activity: 8
Merit: 0
20 unused addresses is the default set up for Electrum. When you use these address Electrum will create new ones.
It is recommended only to use one address per transaction and always use a new address for every transaction you receive.
You can read more about it here > http://docs.electrum.org/en/latest/faq.html

Since you are brand new here it doesn't hurt to ask where you downloaded your Electrum installation from and have you verified the signature?

Edit: @NeuroticFish was faster it seems. 

I downloaded from the website https://electrum.org/#download.
I don't have verified the signature, what is it?
newbie
Activity: 8
Merit: 0
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.

Thank you,I just tried it and then the "Address" showed 29 receiving addresses and 6 change addresses, is it because the interface sets the maximum number of displays?
newbie
Activity: 8
Merit: 0
I want to know how to decide the number of addresses, thank you.

That's the default number of addresses you "normally" see. It's not the number of all addresses in your wallet.
As soon as the wallet needs more addresses, you'll see more. Or you can force more addresses yourself: http://docs.electrum.org/en/latest/faq.html#what-is-the-gap-limit

Thank you so much, I understand it now, and I'm also curious about why the number is 20/6,not 17/3, etc.
full member
Activity: 340
Merit: 164
To change the number of addresses on Electrum do this:

1 - Open Electrum
2 - Click "View" -> "Show Concolse"
3 - In the console type: wallet.change_gap_limit(number of addresses you want)
     For example to have 200 addresses type: wallet.change_gap_limit(200)
4 - The console will reply "True"
5 - Close Electrum
6 - Open Electrum again
7 - Your wallet will now have 200 addresses

Notes: This only works on the wallet you have opened, all other wallets will still have the standard settings.
           Electrum will create extra addresses by itself when you use all standard addresses so you really don't need to do this.
legendary
Activity: 2730
Merit: 7065
20 unused addresses is the default set up for Electrum. When you use these address Electrum will create new ones.
It is recommended only to use one address per transaction and always use a new address for every transaction you receive.
You can read more about it here > http://docs.electrum.org/en/latest/faq.html

Since you are brand new here it doesn't hurt to ask where you downloaded your Electrum installation from and have you verified the signature?

Edit: @NeuroticFish was faster it seems. 
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
I want to know how to decide the number of addresses, thank you.

That's the default number of addresses you "normally" see. It's not the number of all addresses in your wallet.
As soon as the wallet needs more addresses, you'll see more. Or you can force more addresses yourself: http://docs.electrum.org/en/latest/faq.html#what-is-the-gap-limit
newbie
Activity: 8
Merit: 0
I want to know how to decide the number of addresses, thank you.
Jump to: