Bitcoin Forum
December 17, 2017, 11:44:17 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Address gap  (Read 115 times)
webdevGR
Newbie
*
Offline Offline

Activity: 26


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.
1513554257
Hero Member
*
Offline Offline

Posts: 1513554257

View Profile Personal Message (Offline)

Ignore
1513554257
Reply with quote  #2

1513554257
Report to moderator
1513554257
Hero Member
*
Offline Offline

Posts: 1513554257

View Profile Personal Message (Offline)

Ignore
1513554257
Reply with quote  #2

1513554257
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513554257
Hero Member
*
Offline Offline

Posts: 1513554257

View Profile Personal Message (Offline)

Ignore
1513554257
Reply with quote  #2

1513554257
Report to moderator
1513554257
Hero Member
*
Offline Offline

Posts: 1513554257

View Profile Personal Message (Offline)

Ignore
1513554257
Reply with quote  #2

1513554257
Report to moderator
1513554257
Hero Member
*
Offline Offline

Posts: 1513554257

View Profile Personal Message (Offline)

Ignore
1513554257
Reply with quote  #2

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

Activity: 574


Cypherpunk|Crypto Nerd|Provably Fair Verifier


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
Newbie
*
Offline Offline

Activity: 26


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: 1078



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!