{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7946","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7946/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7946/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7946/events","html_url":"https://github.com/bitcoin/bitcoin/pull/7946","id":151115713,"number":7946,"title":"Reduce cs_main locks during ConnectTip/SyncWithWallets","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},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Refactoring","name":"Refactoring","color":"E6F6D6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T12:03:07Z","updated_at":"2016-04-26T13:42:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7946","html_url":"https://github.com/bitcoin/bitcoin/pull/7946","diff_url":"https://github.com/bitcoin/bitcoin/pull/7946.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/7946.patch"},"body":"DisconnectTip and AcceptToMempool are still holding cs_main (not intended to improve this in this PR)"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/214749314","html_url":"https://github.com/bitcoin/bitcoin/pull/7946#issuecomment-214749314","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7946","id":214749314,"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":"2016-04-26T13:42:48Z","updated_at":"2016-04-26T13:42:48Z","body":"As always when you want to improve the locking a little bit, the change gets quickly more invasive.\r\n\r\nUpdate serval things:\r\n* Fixed @sipa point (iterate though all connected blocks).\r\n* Removed the `CBlock *` parameter from the `SyncTransaction` signal and added `CBlockIndex*` together with `int posInBlock`.\r\n* Updated the wallet logic that it can handle the slightly different signal."}}