{"action":"closed","number":12783,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783","id":177346818,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc3MzQ2ODE4","html_url":"https://github.com/bitcoin/bitcoin/pull/12783","diff_url":"https://github.com/bitcoin/bitcoin/pull/12783.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/12783.patch","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12783","number":12783,"state":"closed","locked":false,"title":"macOS: disable AppNap during sync","user":{"login":"krab","id":834046,"node_id":"MDQ6VXNlcjgzNDA0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/834046?v=4","gravatar_id":"","url":"https://api.github.com/users/krab","html_url":"https://github.com/krab","followers_url":"https://api.github.com/users/krab/followers","following_url":"https://api.github.com/users/krab/following{/other_user}","gists_url":"https://api.github.com/users/krab/gists{/gist_id}","starred_url":"https://api.github.com/users/krab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krab/subscriptions","organizations_url":"https://api.github.com/users/krab/orgs","repos_url":"https://api.github.com/users/krab/repos","events_url":"https://api.github.com/users/krab/events{/privacy}","received_events_url":"https://api.github.com/users/krab/received_events","type":"User","site_admin":false},"body":"Code based on pull/5804. Tested only on macOS 10.13.3 and should support 10.9+.\r\n\r\nWhat macOS versions bitcoin core currently supports?","created_at":"2018-03-26T05:40:01Z","updated_at":"2018-11-10T09:38:41Z","closed_at":"2018-11-10T09:38:41Z","merged_at":"2018-11-10T09:38:41Z","merge_commit_sha":"1e0f3c44992fb82e6bf36c2ef9277b0759c17c4c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":234879,"node_id":"MDU6TGFiZWwyMzQ4Nzk=","url":"https://api.github.com/repos/bitcoin/bitcoin/labels/macOS","name":"macOS","color":"660000","default":false}],"milestone":{"url":"https://api.github.com/repos/bitcoin/bitcoin/milestones/35","html_url":"https://github.com/bitcoin/bitcoin/milestone/35","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/milestones/35/labels","id":3318051,"node_id":"MDk6TWlsZXN0b25lMzMxODA1MQ==","number":35,"title":"0.18.0","description":"","creator":{"login":"MarcoFalke","id":6399679,"node_id":"MDQ6VXNlcjYzOTk2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6399679?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcoFalke","html_url":"https://github.com/MarcoFalke","followers_url":"https://api.github.com/users/MarcoFalke/followers","following_url":"https://api.github.com/users/MarcoFalke/following{/other_user}","gists_url":"https://api.github.com/users/MarcoFalke/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoFalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoFalke/subscriptions","organizations_url":"https://api.github.com/users/MarcoFalke/orgs","repos_url":"https://api.github.com/users/MarcoFalke/repos","events_url":"https://api.github.com/users/MarcoFalke/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoFalke/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":36,"state":"open","created_at":"2018-05-03T15:34:54Z","updated_at":"2018-11-10T09:38:41Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/12783/comments","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/1e0f3c44992fb82e6bf36c2ef9277b0759c17c4c","head":{"label":"krab:macos-disable-appnap","ref":"macos-disable-appnap","sha":"1e0f3c44992fb82e6bf36c2ef9277b0759c17c4c","user":{"login":"krab","id":834046,"node_id":"MDQ6VXNlcjgzNDA0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/834046?v=4","gravatar_id":"","url":"https://api.github.com/users/krab","html_url":"https://github.com/krab","followers_url":"https://api.github.com/users/krab/followers","following_url":"https://api.github.com/users/krab/following{/other_user}","gists_url":"https://api.github.com/users/krab/gists{/gist_id}","starred_url":"https://api.github.com/users/krab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krab/subscriptions","organizations_url":"https://api.github.com/users/krab/orgs","repos_url":"https://api.github.com/users/krab/repos","events_url":"https://api.github.com/users/krab/events{/privacy}","received_events_url":"https://api.github.com/users/krab/received_events","type":"User","site_admin":false},"repo":{"id":125842298,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU4NDIyOTg=","name":"bitcoin","full_name":"krab/bitcoin","private":false,"owner":{"login":"krab","id":834046,"node_id":"MDQ6VXNlcjgzNDA0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/834046?v=4","gravatar_id":"","url":"https://api.github.com/users/krab","html_url":"https://github.com/krab","followers_url":"https://api.github.com/users/krab/followers","following_url":"https://api.github.com/users/krab/following{/other_user}","gists_url":"https://api.github.com/users/krab/gists{/gist_id}","starred_url":"https://api.github.com/users/krab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krab/subscriptions","organizations_url":"https://api.github.com/users/krab/orgs","repos_url":"https://api.github.com/users/krab/repos","events_url":"https://api.github.com/users/krab/events{/privacy}","received_events_url":"https://api.github.com/users/krab/received_events","type":"User","site_admin":false},"html_url":"https://github.com/krab/bitcoin","description":"Bitcoin Core integration/staging tree","fork":true,"url":"https://api.github.com/repos/krab/bitcoin","forks_url":"https://api.github.com/repos/krab/bitcoin/forks","keys_url":"https://api.github.com/repos/krab/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krab/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krab/bitcoin/teams","hooks_url":"https://api.github.com/repos/krab/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/krab/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/krab/bitcoin/events","assignees_url":"https://api.github.com/repos/krab/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/krab/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/krab/bitcoin/tags","blobs_url":"https://api.github.com/repos/krab/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krab/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krab/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/krab/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krab/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/krab/bitcoin/languages","stargazers_url":"https://api.github.com/repos/krab/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/krab/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/krab/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/krab/bitcoin/subscription","commits_url":"https://api.github.com/repos/krab/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/krab/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/krab/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/krab/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/krab/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/krab/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krab/bitcoin/merges","archive_url":"https://api.github.com/repos/krab/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krab/bitcoin/downloads","issues_url":"https://api.github.com/repos/krab/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/krab/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/krab/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/krab/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krab/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/krab/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/krab/bitcoin/deployments","created_at":"2018-03-19T10:42:03Z","updated_at":"2018-08-21T19:00:14Z","pushed_at":"2018-11-01T15:22:14Z","git_url":"git://github.com/krab/bitcoin.git","ssh_url":"git@github.com:krab/bitcoin.git","clone_url":"https://github.com/krab/bitcoin.git","svn_url":"https://github.com/krab/bitcoin","homepage":"https://bitcoin.org/en/download","size":113352,"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":"f69d92299dea352696b7ee342ae61099c0a5f333","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","private":false,"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},"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-11-10T09:33:04Z","pushed_at":"2018-11-10T09:38:17Z","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":116781,"stargazers_count":35816,"watchers_count":35816,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":21325,"mirror_url":null,"archived":false,"open_issues_count":870,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21325,"open_issues":870,"watchers":35816,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/12783"},"issue":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12783"},"comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/12783/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/12783/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bitcoin/statuses/1e0f3c44992fb82e6bf36c2ef9277b0759c17c4c"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"laanwj","id":126646,"node_id":"MDQ6VXNlcjEyNjY0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/126646?v=4","gravatar_id":"","url":"https://api.github.com/users/laanwj","html_url":"https://github.com/laanwj","followers_url":"https://api.github.com/users/laanwj/followers","following_url":"https://api.github.com/users/laanwj/following{/other_user}","gists_url":"https://api.github.com/users/laanwj/gists{/gist_id}","starred_url":"https://api.github.com/users/laanwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laanwj/subscriptions","organizations_url":"https://api.github.com/users/laanwj/orgs","repos_url":"https://api.github.com/users/laanwj/repos","events_url":"https://api.github.com/users/laanwj/events{/privacy}","received_events_url":"https://api.github.com/users/laanwj/received_events","type":"User","site_admin":false},"comments":30,"review_comments":17,"maintainer_can_modify":false,"commits":1,"additions":116,"deletions":4,"changed_files":6}}
{"actor":{"display_login":"laanwj"}}