{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcwallet/issues/259","labels_url":"https://api.github.com/repos/btcsuite/btcwallet/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcwallet/issues/259/comments","events_url":"https://api.github.com/repos/btcsuite/btcwallet/issues/259/events","html_url":"https://github.com/btcsuite/btcwallet/issues/259","id":72957198,"number":259,"title":"btcwallet misses sometimes transactions present in btcd","user":{"login":"arnuschky","id":179920,"avatar_url":"https://avatars.githubusercontent.com/u/179920?v=3","gravatar_id":"","url":"https://api.github.com/users/arnuschky","html_url":"https://github.com/arnuschky","followers_url":"https://api.github.com/users/arnuschky/followers","following_url":"https://api.github.com/users/arnuschky/following{/other_user}","gists_url":"https://api.github.com/users/arnuschky/gists{/gist_id}","starred_url":"https://api.github.com/users/arnuschky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnuschky/subscriptions","organizations_url":"https://api.github.com/users/arnuschky/orgs","repos_url":"https://api.github.com/users/arnuschky/repos","events_url":"https://api.github.com/users/arnuschky/events{/privacy}","received_events_url":"https://api.github.com/users/arnuschky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-04T08:22:42Z","updated_at":"2015-05-04T18:42:44Z","closed_at":null,"body":"I am comparing btcwallet and bitcoin core in-system at the moment.\r\n\r\nI am (sometimes) seeing unspents listed by btcwallet that have been spent already. The transaction that as spent it is always known to btcd, but not to btcwallet.\r\n\r\nFirst time, I waited a few minutes, but the transaction wasn't propagated to btcwallet. Only fix I am aware of is to rescan the wallet, which picks up the missing transaction.\r\n\r\nWhat could I do to debug further? Any hints?"},"comment":{"url":"https://api.github.com/repos/btcsuite/btcwallet/issues/comments/98809760","html_url":"https://github.com/btcsuite/btcwallet/issues/259#issuecomment-98809760","issue_url":"https://api.github.com/repos/btcsuite/btcwallet/issues/259","id":98809760,"user":{"login":"arnuschky","id":179920,"avatar_url":"https://avatars.githubusercontent.com/u/179920?v=3","gravatar_id":"","url":"https://api.github.com/users/arnuschky","html_url":"https://github.com/arnuschky","followers_url":"https://api.github.com/users/arnuschky/followers","following_url":"https://api.github.com/users/arnuschky/following{/other_user}","gists_url":"https://api.github.com/users/arnuschky/gists{/gist_id}","starred_url":"https://api.github.com/users/arnuschky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnuschky/subscriptions","organizations_url":"https://api.github.com/users/arnuschky/orgs","repos_url":"https://api.github.com/users/arnuschky/repos","events_url":"https://api.github.com/users/arnuschky/events{/privacy}","received_events_url":"https://api.github.com/users/arnuschky/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T18:42:44Z","updated_at":"2015-05-04T18:42:44Z","body":"It's the wallet. btcd is fine, but there's always one thread of btcwallet that's blocked (process state D, uninterruptable sleep = IO). iotop shows ~700-900kB/s IO."}}