{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54","id":216768927,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzY4OTI3","html_url":"https://github.com/ArweaveTeam/arweave/pull/54","diff_url":"https://github.com/ArweaveTeam/arweave/pull/54.diff","patch_url":"https://github.com/ArweaveTeam/arweave/pull/54.patch","issue_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/54","number":54,"state":"open","locked":false,"title":"Add check if block is in BHL for GET /block/(hash|height)/...","user":{"login":"themue","id":1633981,"node_id":"MDQ6VXNlcjE2MzM5ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1633981?v=4","gravatar_id":"","url":"https://api.github.com/users/themue","html_url":"https://github.com/themue","followers_url":"https://api.github.com/users/themue/followers","following_url":"https://api.github.com/users/themue/following{/other_user}","gists_url":"https://api.github.com/users/themue/gists{/gist_id}","starred_url":"https://api.github.com/users/themue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themue/subscriptions","organizations_url":"https://api.github.com/users/themue/orgs","repos_url":"https://api.github.com/users/themue/repos","events_url":"https://api.github.com/users/themue/events{/privacy}","received_events_url":"https://api.github.com/users/themue/received_events","type":"User","site_admin":false},"body":"If block hash is not yet in BHL we so far had an error. The request `GET /block/hash` failed in that case. Now we're checking if it is contained and return a 404 otherwise.\r\n\r\nImplementation could be more simple if `hash` and `height` would not be handled in one function. Could be optimised in next step.\r\n\r\nFixes #46 ","created_at":"2018-09-19T20:38:08Z","updated_at":"2018-09-19T20:38:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/ArweaveTeam/arweave/milestones/4","html_url":"https://github.com/ArweaveTeam/arweave/milestone/4","labels_url":"https://api.github.com/repos/ArweaveTeam/arweave/milestones/4/labels","id":3650909,"node_id":"MDk6TWlsZXN0b25lMzY1MDkwOQ==","number":4,"title":"Arweave.N.1.5.0.0","description":"","creator":{"login":"themue","id":1633981,"node_id":"MDQ6VXNlcjE2MzM5ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1633981?v=4","gravatar_id":"","url":"https://api.github.com/users/themue","html_url":"https://github.com/themue","followers_url":"https://api.github.com/users/themue/followers","following_url":"https://api.github.com/users/themue/following{/other_user}","gists_url":"https://api.github.com/users/themue/gists{/gist_id}","starred_url":"https://api.github.com/users/themue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themue/subscriptions","organizations_url":"https://api.github.com/users/themue/orgs","repos_url":"https://api.github.com/users/themue/repos","events_url":"https://api.github.com/users/themue/events{/privacy}","received_events_url":"https://api.github.com/users/themue/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2018-09-13T08:22:45Z","updated_at":"2018-09-19T20:38:08Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54/commits","review_comments_url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54/comments","review_comment_url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/54/comments","statuses_url":"https://api.github.com/repos/ArweaveTeam/arweave/statuses/c169113a14fb799286c84545aaf04f22bb8a5853","head":{"label":"ArweaveTeam:fix/get-block-hash","ref":"fix/get-block-hash","sha":"c169113a14fb799286c84545aaf04f22bb8a5853","user":{"login":"ArweaveTeam","id":31965957,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTY1OTU3","avatar_url":"https://avatars0.githubusercontent.com/u/31965957?v=4","gravatar_id":"","url":"https://api.github.com/users/ArweaveTeam","html_url":"https://github.com/ArweaveTeam","followers_url":"https://api.github.com/users/ArweaveTeam/followers","following_url":"https://api.github.com/users/ArweaveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArweaveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArweaveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArweaveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArweaveTeam/orgs","repos_url":"https://api.github.com/users/ArweaveTeam/repos","events_url":"https://api.github.com/users/ArweaveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArweaveTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":99137994,"node_id":"MDEwOlJlcG9zaXRvcnk5OTEzNzk5NA==","name":"arweave","full_name":"ArweaveTeam/arweave","private":false,"owner":{"login":"ArweaveTeam","id":31965957,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTY1OTU3","avatar_url":"https://avatars0.githubusercontent.com/u/31965957?v=4","gravatar_id":"","url":"https://api.github.com/users/ArweaveTeam","html_url":"https://github.com/ArweaveTeam","followers_url":"https://api.github.com/users/ArweaveTeam/followers","following_url":"https://api.github.com/users/ArweaveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArweaveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArweaveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArweaveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArweaveTeam/orgs","repos_url":"https://api.github.com/users/ArweaveTeam/repos","events_url":"https://api.github.com/users/ArweaveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArweaveTeam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ArweaveTeam/arweave","description":"The Arweave server and App Developer Toolkit.","fork":false,"url":"https://api.github.com/repos/ArweaveTeam/arweave","forks_url":"https://api.github.com/repos/ArweaveTeam/arweave/forks","keys_url":"https://api.github.com/repos/ArweaveTeam/arweave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArweaveTeam/arweave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArweaveTeam/arweave/teams","hooks_url":"https://api.github.com/repos/ArweaveTeam/arweave/hooks","issue_events_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/events{/number}","events_url":"https://api.github.com/repos/ArweaveTeam/arweave/events","assignees_url":"https://api.github.com/repos/ArweaveTeam/arweave/assignees{/user}","branches_url":"https://api.github.com/repos/ArweaveTeam/arweave/branches{/branch}","tags_url":"https://api.github.com/repos/ArweaveTeam/arweave/tags","blobs_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArweaveTeam/arweave/statuses/{sha}","languages_url":"https://api.github.com/repos/ArweaveTeam/arweave/languages","stargazers_url":"https://api.github.com/repos/ArweaveTeam/arweave/stargazers","contributors_url":"https://api.github.com/repos/ArweaveTeam/arweave/contributors","subscribers_url":"https://api.github.com/repos/ArweaveTeam/arweave/subscribers","subscription_url":"https://api.github.com/repos/ArweaveTeam/arweave/subscription","commits_url":"https://api.github.com/repos/ArweaveTeam/arweave/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArweaveTeam/arweave/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArweaveTeam/arweave/contents/{+path}","compare_url":"https://api.github.com/repos/ArweaveTeam/arweave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArweaveTeam/arweave/merges","archive_url":"https://api.github.com/repos/ArweaveTeam/arweave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArweaveTeam/arweave/downloads","issues_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues{/number}","pulls_url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls{/number}","milestones_url":"https://api.github.com/repos/ArweaveTeam/arweave/milestones{/number}","notifications_url":"https://api.github.com/repos/ArweaveTeam/arweave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArweaveTeam/arweave/labels{/name}","releases_url":"https://api.github.com/repos/ArweaveTeam/arweave/releases{/id}","deployments_url":"https://api.github.com/repos/ArweaveTeam/arweave/deployments","created_at":"2017-08-02T16:22:19Z","updated_at":"2018-09-14T11:15:50Z","pushed_at":"2018-09-19T20:28:12Z","git_url":"git://github.com/ArweaveTeam/arweave.git","ssh_url":"git@github.com:ArweaveTeam/arweave.git","clone_url":"https://github.com/ArweaveTeam/arweave.git","svn_url":"https://github.com/ArweaveTeam/arweave","homepage":"https://www.arweave.org","size":8889,"stargazers_count":89,"watchers_count":89,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":16,"open_issues":15,"watchers":89,"default_branch":"master"}},"base":{"label":"ArweaveTeam:develop","ref":"develop","sha":"b17ccba3743ca61c286a5bb02b9defaf2e216f2e","user":{"login":"ArweaveTeam","id":31965957,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTY1OTU3","avatar_url":"https://avatars0.githubusercontent.com/u/31965957?v=4","gravatar_id":"","url":"https://api.github.com/users/ArweaveTeam","html_url":"https://github.com/ArweaveTeam","followers_url":"https://api.github.com/users/ArweaveTeam/followers","following_url":"https://api.github.com/users/ArweaveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArweaveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArweaveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArweaveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArweaveTeam/orgs","repos_url":"https://api.github.com/users/ArweaveTeam/repos","events_url":"https://api.github.com/users/ArweaveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArweaveTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":99137994,"node_id":"MDEwOlJlcG9zaXRvcnk5OTEzNzk5NA==","name":"arweave","full_name":"ArweaveTeam/arweave","private":false,"owner":{"login":"ArweaveTeam","id":31965957,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTY1OTU3","avatar_url":"https://avatars0.githubusercontent.com/u/31965957?v=4","gravatar_id":"","url":"https://api.github.com/users/ArweaveTeam","html_url":"https://github.com/ArweaveTeam","followers_url":"https://api.github.com/users/ArweaveTeam/followers","following_url":"https://api.github.com/users/ArweaveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArweaveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArweaveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArweaveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArweaveTeam/orgs","repos_url":"https://api.github.com/users/ArweaveTeam/repos","events_url":"https://api.github.com/users/ArweaveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArweaveTeam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ArweaveTeam/arweave","description":"The Arweave server and App Developer Toolkit.","fork":false,"url":"https://api.github.com/repos/ArweaveTeam/arweave","forks_url":"https://api.github.com/repos/ArweaveTeam/arweave/forks","keys_url":"https://api.github.com/repos/ArweaveTeam/arweave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArweaveTeam/arweave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArweaveTeam/arweave/teams","hooks_url":"https://api.github.com/repos/ArweaveTeam/arweave/hooks","issue_events_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/events{/number}","events_url":"https://api.github.com/repos/ArweaveTeam/arweave/events","assignees_url":"https://api.github.com/repos/ArweaveTeam/arweave/assignees{/user}","branches_url":"https://api.github.com/repos/ArweaveTeam/arweave/branches{/branch}","tags_url":"https://api.github.com/repos/ArweaveTeam/arweave/tags","blobs_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArweaveTeam/arweave/statuses/{sha}","languages_url":"https://api.github.com/repos/ArweaveTeam/arweave/languages","stargazers_url":"https://api.github.com/repos/ArweaveTeam/arweave/stargazers","contributors_url":"https://api.github.com/repos/ArweaveTeam/arweave/contributors","subscribers_url":"https://api.github.com/repos/ArweaveTeam/arweave/subscribers","subscription_url":"https://api.github.com/repos/ArweaveTeam/arweave/subscription","commits_url":"https://api.github.com/repos/ArweaveTeam/arweave/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArweaveTeam/arweave/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArweaveTeam/arweave/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArweaveTeam/arweave/contents/{+path}","compare_url":"https://api.github.com/repos/ArweaveTeam/arweave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArweaveTeam/arweave/merges","archive_url":"https://api.github.com/repos/ArweaveTeam/arweave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArweaveTeam/arweave/downloads","issues_url":"https://api.github.com/repos/ArweaveTeam/arweave/issues{/number}","pulls_url":"https://api.github.com/repos/ArweaveTeam/arweave/pulls{/number}","milestones_url":"https://api.github.com/repos/ArweaveTeam/arweave/milestones{/number}","notifications_url":"https://api.github.com/repos/ArweaveTeam/arweave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArweaveTeam/arweave/labels{/name}","releases_url":"https://api.github.com/repos/ArweaveTeam/arweave/releases{/id}","deployments_url":"https://api.github.com/repos/ArweaveTeam/arweave/deployments","created_at":"2017-08-02T16:22:19Z","updated_at":"2018-09-14T11:15:50Z","pushed_at":"2018-09-19T20:28:12Z","git_url":"git://github.com/ArweaveTeam/arweave.git","ssh_url":"git@github.com:ArweaveTeam/arweave.git","clone_url":"https://github.com/ArweaveTeam/arweave.git","svn_url":"https://github.com/ArweaveTeam/arweave","homepage":"https://www.arweave.org","size":8889,"stargazers_count":89,"watchers_count":89,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":16,"open_issues":15,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54"},"html":{"href":"https://github.com/ArweaveTeam/arweave/pull/54"},"issue":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/issues/54"},"comments":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/ArweaveTeam/arweave/statuses/c169113a14fb799286c84545aaf04f22bb8a5853"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":23,"deletions":11,"changed_files":2}}
{"actor":{"display_login":"themue"}}