{"action":"opened","issue":{"url":"https://api.github.com/repos/bitpay/copay/issues/4603","repository_url":"https://api.github.com/repos/bitpay/copay","labels_url":"https://api.github.com/repos/bitpay/copay/issues/4603/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/copay/issues/4603/comments","events_url":"https://api.github.com/repos/bitpay/copay/issues/4603/events","html_url":"https://github.com/bitpay/copay/issues/4603","id":166117130,"number":4603,"title":"BIP44 Compliance: Address Gap Limit","user":{"login":"Derrick-","id":3766117,"avatar_url":"https://avatars.githubusercontent.com/u/3766117?v=3","gravatar_id":"","url":"https://api.github.com/users/Derrick-","html_url":"https://github.com/Derrick-","followers_url":"https://api.github.com/users/Derrick-/followers","following_url":"https://api.github.com/users/Derrick-/following{/other_user}","gists_url":"https://api.github.com/users/Derrick-/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrick-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrick-/subscriptions","organizations_url":"https://api.github.com/users/Derrick-/orgs","repos_url":"https://api.github.com/users/Derrick-/repos","events_url":"https://api.github.com/users/Derrick-/events{/privacy}","received_events_url":"https://api.github.com/users/Derrick-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T15:10:41Z","updated_at":"2016-07-18T15:10:41Z","closed_at":null,"body":"It appears that the current functionality of balance calculation does not look ahead at all. \r\nBIP44 specifies (or recommends) that the HD wallet look ahead 20 addresses.\r\nhttps://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#address-gap-limit\r\n\r\nCurrently Copay does support manual forward scanning, however this feature is buried very deeply in the \"Wallet Info\" screen under Advanced Settings -> Wallet Info: \"Scan for funds\"\r\n\r\nThe use case, in addition to being compliant with BIP44 specification of 20, is for using the wallet xpub in 3rd party apps which will generate addresses, such as for storefront payment plug-ins.\r\n\r\nI do not consider this functionality an Advanced Feature (https://github.com/bitpay/copay/issues/4600#issuecomment-233226285), as I can see new bitcoin users which do online sales being anxious to begin accepting bitcoin payments or donations if they have such a storefront or other application.\r\n\r\nRelated: From https://github.com/bitpay/copay/issues/2865#issuecomment-109580338\r\n> \"The only problem is that currently I don't think the wallet does any look ahead, and it only watches an address as soon as it is displayed on someone's Copay screen.\"\r\n\r\nThe look ahead scanning does take some time, and if the user had to wait for this it might be detrimental to the initial experience, so i would recommend doing this in the background after the wallet is created.\r\n"}}
{"actor":{"display_login":"Derrick-"}}