Bitcoin Forum

Bitcoin => Electrum => Topic started by: BooToo on January 01, 2017, 08:23:46 AM



Title: A limitf for the number of generated addresses ?
Post by: BooToo on January 01, 2017, 08:23:46 AM
At first  I wish a happy new year to the Bitcoin and all it's followers, good health for BTC  :D (looks rather well this winter)  and prosperity for all of you  :D

Is there a limit for the mumber of addresses Electrum is able to generate from the seed?
At first 20 are created, then when needed new ones appear to let permanently 20 free.... until ?  hundreds?  thousands?




Title: Re: A limitf for the number of generated addresses ?
Post by: OmegaStarScream on January 01, 2017, 08:34:54 AM
As far as I know (from 2.5.4 and above ), you first start with 20 addresses in your wallet , once you use one address to receive funds , a new address is generated for your seed and this means that you will keep a number of 20 unused address all the time and there shouldn't be any limits. See this detailed answer : http://bitcoin.stackexchange.com/questions/48067/how-many-addresses-can-an-electrum-seed-generate


Title: Re: A limitf for the number of generated addresses ?
Post by: ranochigo on January 01, 2017, 08:36:54 AM
In theory, Electrum can generate an unlimited amount of addresses. However, Electrum would most probably run slowly with a larger number of addresses.

Electrum servers do have a limit as to how many addresses the wallet can have. This prevents DDoS attacks as it helps to prevent attackers from querying the servers too much.

You can configure your gap limit to have the client to generate more empty addresses.


Title: Re: A limitf for the number of generated addresses ?
Post by: kolloh on January 01, 2017, 07:21:33 PM
Yep, there shouldn't be any limits on the number of addresses.

Electrum will generate new addresses as you use them, until it hits the gap limit ( which is 20 by default ). The gap limit according to Electrum's FAQ is
Quote
The gap limit is the maximum number of consecutive unused addresses in your deterministic sequence of addresses. Electrum uses it in order to stop looking for addresses. In Electrum 2.0, it is set to 20 by default, so the client will get all addresses until 20 unused addresses are found.

You won't run out of addresses when using Electrum.