{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6645","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6645/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6645/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6645/events","html_url":"https://github.com/bitcoin/bitcoin/pull/6645","id":105130076,"number":6645,"title":"Enable wallet key imports without rescan in pruned mode.","user":{"login":"gmaxwell","id":858454,"avatar_url":"https://avatars.githubusercontent.com/u/858454?v=3","gravatar_id":"","url":"https://api.github.com/users/gmaxwell","html_url":"https://github.com/gmaxwell","followers_url":"https://api.github.com/users/gmaxwell/followers","following_url":"https://api.github.com/users/gmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/gmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmaxwell/subscriptions","organizations_url":"https://api.github.com/users/gmaxwell/orgs","repos_url":"https://api.github.com/users/gmaxwell/repos","events_url":"https://api.github.com/users/gmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/gmaxwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-07T01:31:17Z","updated_at":"2015-09-07T04:12:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/6645","html_url":"https://github.com/bitcoin/bitcoin/pull/6645","diff_url":"https://github.com/bitcoin/bitcoin/pull/6645.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/6645.patch"},"body":"Complete rescan is incompatible with pruning, but rescan is optional on\r\n our wallet key import RPCs.  Import on use is very useful in some common\r\n situations in conjunction with pruning, e.g. merchant payment tracking.\r\n\r\nThis reenables importprivkey/importaddress/importpubkey when rescan\r\n is not used.\r\n\r\nIn the future we should consider changing the rescan argument to allow depth\r\n or date to allow limited rescanning when compatible with the retained\r\n block depth."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/138182882","html_url":"https://github.com/bitcoin/bitcoin/pull/6645#issuecomment-138182882","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6645","id":138182882,"user":{"login":"jonasschnelli","id":178464,"avatar_url":"https://avatars.githubusercontent.com/u/178464?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasschnelli","html_url":"https://github.com/jonasschnelli","followers_url":"https://api.github.com/users/jonasschnelli/followers","following_url":"https://api.github.com/users/jonasschnelli/following{/other_user}","gists_url":"https://api.github.com/users/jonasschnelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasschnelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasschnelli/subscriptions","organizations_url":"https://api.github.com/users/jonasschnelli/orgs","repos_url":"https://api.github.com/users/jonasschnelli/repos","events_url":"https://api.github.com/users/jonasschnelli/events{/privacy}","received_events_url":"https://api.github.com/users/jonasschnelli/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T04:12:28Z","updated_at":"2015-09-07T04:12:28Z","body":"There is also a PR that would optimize importing depth:\r\nhttps://github.com/bitcoin/bitcoin/pull/6570"}}