Bitcoin Forum
May 08, 2024, 05:40:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Address gap  (Read 217 times)
webdevGR (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 06, 2017, 09:44:09 AM
 #1

Bitcoin Client Software and Version Number: Electrum 3.0.2
Operating System: CentOS 7
System Hardware Specs: N/A

I've written my own implementation for accepting bitcoins on a website (e-shop, selling home decorations). I use electrum on the webserver to generate addresses per new order. The default electrum wallet configuration keeps 20 generated addresses (address gap) at any one time. In general, this means that I can have up to 20 "open" orders that require bitcoin payment.

I'd like to know, based on other peoples experience, if this address gap of 20 addresses should be raised. Is it typical for so many payments to remain unpaid, that would consume the 20 concurrent addresses?

I know I can force electrum to generate addresses above the limit (or even raise the limit).

This particular e-shop is based in Europe and sells handmade home decorations to support small artisans, based on its traffic I do not expect a high volume of orders, which is why I have left the default address gap limit to 20.

Thank you.
1715146857
Hero Member
*
Offline Offline

Posts: 1715146857

View Profile Personal Message (Offline)

Ignore
1715146857
Reply with quote  #2

1715146857
Report to moderator
1715146857
Hero Member
*
Offline Offline

Posts: 1715146857

View Profile Personal Message (Offline)

Ignore
1715146857
Reply with quote  #2

1715146857
Report to moderator
1715146857
Hero Member
*
Offline Offline

Posts: 1715146857

View Profile Personal Message (Offline)

Ignore
1715146857
Reply with quote  #2

1715146857
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715146857
Hero Member
*
Offline Offline

Posts: 1715146857

View Profile Personal Message (Offline)

Ignore
1715146857
Reply with quote  #2

1715146857
Report to moderator
1715146857
Hero Member
*
Offline Offline

Posts: 1715146857

View Profile Personal Message (Offline)

Ignore
1715146857
Reply with quote  #2

1715146857
Report to moderator
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
December 06, 2017, 01:25:22 PM
 #2

Typically you can use your xpub key generated from your seed to generate addresses and not rely on electrum to provide those addresses.
webdevGR (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 06, 2017, 01:40:39 PM
 #3

well thank you for not answering my question Wink

I think it is obvious that I am using a watch-only wallet to generate addresses, but even so, the address gap stops you from generating more than the address gap limit (unless you use the 'force' parameter).

my question is mostly about the experience of people who offer bitcoin payments and how many concurrent open payments they get.
HI-TEC99
Legendary
*
Offline Offline

Activity: 2772
Merit: 2846



View Profile
December 06, 2017, 06:05:00 PM
 #4

I know the normal user's wallet can start to slow down if you set the gap limit to an excessively high number of addresses. Unfortunately I can't remember exactly how high you have to raise the gap limit before it starts slowing down, and I don't know if the electrum server wallet handles a higher gap better.

Try testing your wallet by increasing the gap limit to 100, then repeatedly doubling it until the wallet starts to slow down. The hardware your operating system runs on probably has a big effect, so your wallet might start to struggle at a different gap limit to another person's wallet running on different hardware.
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!