Bitcoin Forum
April 25, 2024, 05:58:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Why Electrum has 20 receiving addresses and 6 change addresses?  (Read 257 times)
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 07:00:17 AM
 #1

I want to know how to decide the number of addresses, thank you.
1714024706
Hero Member
*
Offline Offline

Posts: 1714024706

View Profile Personal Message (Offline)

Ignore
1714024706
Reply with quote  #2

1714024706
Report to moderator
1714024706
Hero Member
*
Offline Offline

Posts: 1714024706

View Profile Personal Message (Offline)

Ignore
1714024706
Reply with quote  #2

1714024706
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714024706
Hero Member
*
Offline Offline

Posts: 1714024706

View Profile Personal Message (Offline)

Ignore
1714024706
Reply with quote  #2

1714024706
Report to moderator
1714024706
Hero Member
*
Offline Offline

Posts: 1714024706

View Profile Personal Message (Offline)

Ignore
1714024706
Reply with quote  #2

1714024706
Report to moderator
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6365


Looking for campaign manager? Contact icopress!


View Profile
April 22, 2019, 07:40:09 AM
 #2

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

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pmalek
Legendary
*
Offline Offline

Activity: 2744
Merit: 7095



View Profile
April 22, 2019, 07:43:15 AM
 #3

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. 

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
April 22, 2019, 07:43:27 AM
 #4

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.
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 08:07:30 AM
 #5

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.
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 08:15:58 AM
 #6

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?
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 08:34:38 AM
 #7

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?
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6365


Looking for campaign manager? Contact icopress!


View Profile
April 22, 2019, 08:47:35 AM
 #8

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

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
April 22, 2019, 08:50:48 AM
 #9

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?
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 08:59:34 AM
 #10

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.
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 09:18:57 AM
 #11

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.
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
April 22, 2019, 09:23:08 AM
 #12

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.
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 09:44:15 AM
 #13

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.
Lucius
Legendary
*
Offline Offline

Activity: 3220
Merit: 5627


Blackjack.fun-Free Raffle-Join&Win $50🎲


View Profile WWW
April 22, 2019, 09:52:58 AM
 #14

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Claire927 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 22, 2019, 10:50:19 AM
 #15

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.
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
April 22, 2019, 03:02:44 PM
 #16

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.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 22, 2019, 09:51:57 PM
 #17

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.


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
April 22, 2019, 09:56:16 PM
 #18

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.....
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
April 23, 2019, 01:56:59 AM
 #19

-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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
April 23, 2019, 02:56:44 AM
 #20

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?
Pages: [1] 2 »  All
  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!