{
  "id": 11931626,
  "title": "The gap limit is a compatibility contract, not a scanner setting",
  "url": "https://urgent.news/2026/10/04/the-gap-limit-is-a-compatibility-contract-not-a-scanner-setting",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-04T13:23:35.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/polycratia/the-gap-limit-is-a-compatibility-contract-not-a-scanner-setting-2f09"
  },
  "original_language": "en",
  "account": "The gap limit is not a customizable setting for scanners, but rather a compatibility contract that defines what addresses can be issued. An unused address after the gap limit belongs to the keyholder and can still be visited, but standard wallets will not reach it. When deriving an address from an extended public key, the process is purely mathematical with no regard to whether others can find it. The address is still valid and can receive funds, but discovery relies on convention rather than mathematical proofs. A conforming wallet will scan sequentially from the last index with a deposit, pausing once it encounters a series of unused addresses. The BIP44 standard sets this gap limit at twenty unused addresses. After the last index with funds, a scanner will stop at index 500, which will never be visited. This gap limit is not something the user can adjust, as it is a wallet user experience detail. However, it is crucial when restoring an account from a mnemonic or during an incident where funds are lost. The indexer is not responsible for finding these unfindable addresses, and the responsibility lies with the software that handles the issuance of addresses.",
  "summary": "An HD wallet scanner quits twenty unused addresses after the last one that received money. An address handed out past that window still belongs to your key, your own indexer will watch it happily, and no standard wallet will ever reach it. That makes the gap limit a constraint on what you are allowed to issue, not a parameter you tune on your own side of the system. An address that is yours and…",
  "key_points": [
    "Gap limit is a compatibility contract, not a scanner setting",
    "Unused addresses after gap limit belong to keyholder",
    "BIP44 standard sets gap limit at twenty unused addresses"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}