Bitcoin Forum
May 06, 2024, 01:39:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin address gap limit  (Read 161 times)
BlockCheney (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 15


View Profile
June 17, 2022, 11:14:15 AM
Merited by LoyceV (4), ABCbits (1)
 #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?
1715002786
Hero Member
*
Offline Offline

Posts: 1715002786

View Profile Personal Message (Offline)

Ignore
1715002786
Reply with quote  #2

1715002786
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 17, 2022, 11:17:36 AM
Merited by LoyceV (4), pooya87 (2), ABCbits (1), hosseinimr93 (1)
 #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).
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16605


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 17, 2022, 11:21:01 AM
Merited by ABCbits (1)
 #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).

BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7353


Farewell, Leo


View Profile
June 17, 2022, 11: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.

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

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

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

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

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

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











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











▄▄▄▄█
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7471


Crypto Swap Exchange


View Profile
June 17, 2022, 11:42:26 AM
Merited by BlackHatCoiner (2), NeuroticFish (1), hosseinimr93 (1), Husna QA (1)
 #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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
June 18, 2022, 04:21:32 PM
Merited by nc50lc (1)
 #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.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Cookdata
Hero Member
*****
Offline Offline

Activity: 938
Merit: 876


Not Your Keys, Not Your Bitcoin


View Profile
June 18, 2022, 07: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.

NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 19, 2022, 04:06:00 AM
 #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").

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!