{"action":"opened","issue":{"url":"https://api.github.com/repos/creditbit/creditbit/issues/1","labels_url":"https://api.github.com/repos/creditbit/creditbit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/creditbit/creditbit/issues/1/comments","events_url":"https://api.github.com/repos/creditbit/creditbit/issues/1/events","html_url":"https://github.com/creditbit/creditbit/issues/1","id":124564498,"number":1,"title":"missing transactions when importing private key","user":{"login":"heliorosa","id":11138498,"avatar_url":"https://avatars.githubusercontent.com/u/11138498?v=3","gravatar_id":"","url":"https://api.github.com/users/heliorosa","html_url":"https://github.com/heliorosa","followers_url":"https://api.github.com/users/heliorosa/followers","following_url":"https://api.github.com/users/heliorosa/following{/other_user}","gists_url":"https://api.github.com/users/heliorosa/gists{/gist_id}","starred_url":"https://api.github.com/users/heliorosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heliorosa/subscriptions","organizations_url":"https://api.github.com/users/heliorosa/orgs","repos_url":"https://api.github.com/users/heliorosa/repos","events_url":"https://api.github.com/users/heliorosa/events{/privacy}","received_events_url":"https://api.github.com/users/heliorosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-01T22:33:42Z","updated_at":"2016-01-01T22:33:42Z","closed_at":null,"body":"From what i manage to understand from the code, this happens when a wallet is created and a key is imported (using the debug console).\r\n\r\nWhen the wallet is created the nTimeFirstKey variable is set here: https://github.com/creditbit/creditbit/blob/master/src/wallet.cpp#L53 and this if statement https://github.com/creditbit/creditbit/blob/master/src/wallet.cpp#L852 will skip blocks with transaction to that key. Commenting that if statement works just fine. There might be a better way to avoid processing blocks."}}