Author

Topic: Bitcoin address gap limit (Read 166 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
June 18, 2022, 11:06:00 PM
#8
No. But it may be a problem identifying each payment (the labels in your wallet won't be restored) and your privacy (each one of the 200 people who paid you can now see the 199 other payments that belong to you).

Maybe the user has forgone privacy to reduce future transaction fees by payment batching and utxo consolidation.

It's not really forgoing privacy as the user can always scramble the transaction outputs with JoinMarket or a mixer after consolidating all of the outputs.

Actually it would be quite annoying to obfuscate a bunch of dust transactions by sending them all together to a obfuscation service (it's technically a "double-fee").
hero member
Activity: 1106
Merit: 912
Not Your Keys, Not Your Bitcoin
June 18, 2022, 02:00:53 PM
#7
Most on-chain wallet software has a gap limit of 20, so when your wallet scans the blockchain after address 201 with an addition of 20 wallet addresses(up to 222), it will stop searching at 223 when it found nothing on the address. You have no problems displaying your previously used addresses.
 
No. But it may be a problem identifying each payment (the labels in your wallet won't be restored) and your privacy (each one of the 200 people who paid you can now see the 199 other payments that belong to you).

Maybe the user has forgone privacy to reduce future transaction fees by payment batching and utxo consolidation.
legendary
Activity: 4466
Merit: 3391
June 18, 2022, 11:21:32 AM
#6
I have one question about the gap limit in bitcoin wallet. If for example I create a 24 Word BIP39 Wallet in Sparrow Wallet and I sent some Satoshis to each one of the first 200 addresses. Then I decide to send the complete funds of all 200 addresses to address number 201. If I want to recover the wallet later on another computer using my 24 words is this a problem concerning gap limit?

The gap limit tells the wallet how many unused addresses to skip before assuming that none of the following addresses have been used. In your case, a wallet would see all 201 addresses in the block chain and not have to skip any at all.

There might be a problem if you sent funds to only the 201st address because the wallet would have to know that it might have to skip 200 addresses before finding a used address. You would need to set the gap limit to at least 200 in this case.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
June 17, 2022, 06:42:26 AM
#5
No. To be specific, most wallet usually check whether the address has transaction history (rather than check it has balance). Since first 201 address has transaction history, most wallet would generate/show 201 address plus additional 20-30 address (based on wallet default gap limit). But in rare case where wallet use non-default derivation path, you might want to write down derivation path generated by Sparrow.


Source: https://www.sparrowwallet.com/docs/quick-start.html
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
June 17, 2022, 06:40:07 AM
#4
If I want to recover the wallet later on another computer using my 24 words is this a problem concerning gap limit?
What kind of problem, is the right question. If you configure the gap limit in Settings -> Advanced, you will be fine, transactions will be shown properly, until the address of that limit. But, if your problem is privacy, gap limit is irrelevant.

If you connect to your private Electrum server, make sure that the gap limit you've submitted allows you to query that much information from your server. Otherwise, your Electrum server won't return you anything.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
June 17, 2022, 06:21:01 AM
#3
If I want to recover the wallet later on another computer using my 24 words is this a problem concerning gap limit?
No. But it may be a problem identifying each payment (the labels in your wallet won't be restored) and your privacy (each one of the 200 people who paid you can now see the 199 other payments that belong to you).
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
June 17, 2022, 06:17:36 AM
#2
No, as long as you've used enough addresses then your future addresses will also be there (generally if you haven't clicked a button to add an address and haven't changed the gap limit, it's very likely you won't have to do that when restoring your wallet from the nmemonic either).
newbie
Activity: 19
Merit: 15
June 17, 2022, 06:14:15 AM
#1
I have one question about the gap limit in bitcoin wallet. If for example I create a 24 Word BIP39 Wallet in Sparrow Wallet and I sent some Satoshis to each one of the first 200 addresses. Then I decide to send the complete funds of all 200 addresses to address number 201. If I want to recover the wallet later on another computer using my 24 words is this a problem concerning gap limit?
Jump to: