{"action":"closed","number":12153,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153","id":162395996,"node_id":"MDExOlB1bGxSZXF1ZXN0MTYyMzk1OTk2","html_url":"https://github.com/bitcoin/bitcoin/pull/12153","diff_url":"https://github.com/bitcoin/bitcoin/pull/12153.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/12153.patch","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12153","number":12153,"state":"closed","locked":false,"title":"Avoid permanent cs_main lock in getblockheader","user":{"login":"promag","id":3534524,"node_id":"MDQ6VXNlcjM1MzQ1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3534524?v=4","gravatar_id":"","url":"https://api.github.com/users/promag","html_url":"https://github.com/promag","followers_url":"https://api.github.com/users/promag/followers","following_url":"https://api.github.com/users/promag/following{/other_user}","gists_url":"https://api.github.com/users/promag/gists{/gist_id}","starred_url":"https://api.github.com/users/promag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promag/subscriptions","organizations_url":"https://api.github.com/users/promag/orgs","repos_url":"https://api.github.com/users/promag/repos","events_url":"https://api.github.com/users/promag/events{/privacy}","received_events_url":"https://api.github.com/users/promag/received_events","type":"User","site_admin":false},"body":"Based on #12151, this pull reduces the lock scope in `getblockheader` RPC.\r\n\r\nNote, review last commit only.","created_at":"2018-01-11T14:26:28Z","updated_at":"2018-08-02T22:36:33Z","closed_at":"2018-08-02T22:36:33Z","merged_at":null,"merge_commit_sha":"dd4eec134414069ed45a495a511e5ef2af012e57","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":98279177,"node_id":"MDU6TGFiZWw5ODI3OTE3Nw==","url":"https://api.github.com/repos/bitcoin/bitcoin/labels/RPC/REST/ZMQ","name":"RPC/REST/ZMQ","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12153/comments","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/ba2dad1ba53f16cd29ebfdfbff642230e61124cb","head":{"label":"promag:2018-01-getblockheader","ref":"2018-01-getblockheader","sha":"ba2dad1ba53f16cd29ebfdfbff642230e61124cb","user":{"login":"promag","id":3534524,"node_id":"MDQ6VXNlcjM1MzQ1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3534524?v=4","gravatar_id":"","url":"https://api.github.com/users/promag","html_url":"https://github.com/promag","followers_url":"https://api.github.com/users/promag/followers","following_url":"https://api.github.com/users/promag/following{/other_user}","gists_url":"https://api.github.com/users/promag/gists{/gist_id}","starred_url":"https://api.github.com/users/promag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promag/subscriptions","organizations_url":"https://api.github.com/users/promag/orgs","repos_url":"https://api.github.com/users/promag/repos","events_url":"https://api.github.com/users/promag/events{/privacy}","received_events_url":"https://api.github.com/users/promag/received_events","type":"User","site_admin":false},"repo":{"id":95606613,"node_id":"MDEwOlJlcG9zaXRvcnk5NTYwNjYxMw==","name":"bitcoin","full_name":"promag/bitcoin","owner":{"login":"promag","id":3534524,"node_id":"MDQ6VXNlcjM1MzQ1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3534524?v=4","gravatar_id":"","url":"https://api.github.com/users/promag","html_url":"https://github.com/promag","followers_url":"https://api.github.com/users/promag/followers","following_url":"https://api.github.com/users/promag/following{/other_user}","gists_url":"https://api.github.com/users/promag/gists{/gist_id}","starred_url":"https://api.github.com/users/promag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promag/subscriptions","organizations_url":"https://api.github.com/users/promag/orgs","repos_url":"https://api.github.com/users/promag/repos","events_url":"https://api.github.com/users/promag/events{/privacy}","received_events_url":"https://api.github.com/users/promag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/promag/bitcoin","description":"Bitcoin Core integration/staging tree","fork":true,"url":"https://api.github.com/repos/promag/bitcoin","forks_url":"https://api.github.com/repos/promag/bitcoin/forks","keys_url":"https://api.github.com/repos/promag/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/promag/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/promag/bitcoin/teams","hooks_url":"https://api.github.com/repos/promag/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/promag/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/promag/bitcoin/events","assignees_url":"https://api.github.com/repos/promag/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/promag/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/promag/bitcoin/tags","blobs_url":"https://api.github.com/repos/promag/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/promag/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/promag/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/promag/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/promag/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/promag/bitcoin/languages","stargazers_url":"https://api.github.com/repos/promag/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/promag/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/promag/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/promag/bitcoin/subscription","commits_url":"https://api.github.com/repos/promag/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/promag/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/promag/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/promag/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/promag/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/promag/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/promag/bitcoin/merges","archive_url":"https://api.github.com/repos/promag/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/promag/bitcoin/downloads","issues_url":"https://api.github.com/repos/promag/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/promag/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/promag/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/promag/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/promag/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/promag/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/promag/bitcoin/deployments","created_at":"2017-06-27T22:37:11Z","updated_at":"2017-06-27T22:37:29Z","pushed_at":"2018-07-30T22:13:24Z","git_url":"git://github.com/promag/bitcoin.git","ssh_url":"git@github.com:promag/bitcoin.git","clone_url":"https://github.com/promag/bitcoin.git","svn_url":"https://github.com/promag/bitcoin","homepage":"https://bitcoin.org/en/download","size":106391,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitcoin:master","ref":"master","sha":"56f69360dc98bd68704f19646a84d045788d199e","user":{"login":"bitcoin","id":528860,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyODg2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/528860?v=4","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"repo":{"id":1181927,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgxOTI3","name":"bitcoin","full_name":"bitcoin/bitcoin","owner":{"login":"bitcoin","id":528860,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyODg2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/528860?v=4","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitcoin/bitcoin","description":"Bitcoin Core integration/staging tree","fork":false,"url":"https://api.github.com/repos/bitcoin/bitcoin","forks_url":"https://api.github.com/repos/bitcoin/bitcoin/forks","keys_url":"https://api.github.com/repos/bitcoin/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoin/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoin/bitcoin/teams","hooks_url":"https://api.github.com/repos/bitcoin/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoin/bitcoin/events","assignees_url":"https://api.github.com/repos/bitcoin/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoin/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoin/bitcoin/tags","blobs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoin/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoin/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoin/bitcoin/languages","stargazers_url":"https://api.github.com/repos/bitcoin/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/bitcoin/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/bitcoin/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/bitcoin/bitcoin/subscription","commits_url":"https://api.github.com/repos/bitcoin/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoin/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoin/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoin/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoin/bitcoin/merges","archive_url":"https://api.github.com/repos/bitcoin/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoin/bitcoin/downloads","issues_url":"https://api.github.com/repos/bitcoin/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoin/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoin/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/bitcoin/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/bitcoin/bitcoin/deployments","created_at":"2010-12-19T15:16:43Z","updated_at":"2018-08-02T20:27:15Z","pushed_at":"2018-08-02T19:15:13Z","git_url":"git://github.com/bitcoin/bitcoin.git","ssh_url":"git@github.com:bitcoin/bitcoin.git","clone_url":"https://github.com/bitcoin/bitcoin.git","svn_url":"https://github.com/bitcoin/bitcoin","homepage":"https://bitcoincore.org/en/download","size":109231,"stargazers_count":33682,"watchers_count":33682,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":20384,"mirror_url":null,"archived":false,"open_issues_count":820,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20384,"open_issues":820,"watchers":33682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/12153"},"issue":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12153"},"comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12153/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12153/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bitcoin/statuses/ba2dad1ba53f16cd29ebfdfbff642230e61124cb"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":47,"deletions":55,"changed_files":4}}
{"actor":{"display_login":"DrahtBot"}}