{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31","id":224222040,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MjIyMDQw","html_url":"https://github.com/coblox/bitcoinrpc-rust-client/pull/31","diff_url":"https://github.com/coblox/bitcoinrpc-rust-client/pull/31.diff","patch_url":"https://github.com/coblox/bitcoinrpc-rust-client/pull/31.patch","issue_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/31","number":31,"state":"closed","locked":false,"title":"added into_sha256d_hash method for BlockHash struct","user":{"login":"evgeniy-scherbina","id":37836031,"node_id":"MDQ6VXNlcjM3ODM2MDMx","avatar_url":"https://avatars3.githubusercontent.com/u/37836031?v=4","gravatar_id":"","url":"https://api.github.com/users/evgeniy-scherbina","html_url":"https://github.com/evgeniy-scherbina","followers_url":"https://api.github.com/users/evgeniy-scherbina/followers","following_url":"https://api.github.com/users/evgeniy-scherbina/following{/other_user}","gists_url":"https://api.github.com/users/evgeniy-scherbina/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeniy-scherbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeniy-scherbina/subscriptions","organizations_url":"https://api.github.com/users/evgeniy-scherbina/orgs","repos_url":"https://api.github.com/users/evgeniy-scherbina/repos","events_url":"https://api.github.com/users/evgeniy-scherbina/events{/privacy}","received_events_url":"https://api.github.com/users/evgeniy-scherbina/received_events","type":"User","site_admin":false},"body":"It seems to me there are no way to convert BlockHash which returns from many rpc calls into useful rust-bitcoin lib types, in this PR I propose one.","created_at":"2018-10-19T09:21:36Z","updated_at":"2018-10-23T06:30:33Z","closed_at":"2018-10-23T06:30:33Z","merged_at":"2018-10-23T06:30:33Z","merge_commit_sha":"b6362e21ca91a762686a98c3e9b5517f588a927d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31/commits","review_comments_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31/comments","review_comment_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/31/comments","statuses_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/statuses/b96a567b9402bb9f1670aed8288d866123b250a0","head":{"label":"rust-bitcoin-tools:enhancement","ref":"enhancement","sha":"b96a567b9402bb9f1670aed8288d866123b250a0","user":{"login":"rust-bitcoin-tools","id":43440083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDQwMDgz","avatar_url":"https://avatars1.githubusercontent.com/u/43440083?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-bitcoin-tools","html_url":"https://github.com/rust-bitcoin-tools","followers_url":"https://api.github.com/users/rust-bitcoin-tools/followers","following_url":"https://api.github.com/users/rust-bitcoin-tools/following{/other_user}","gists_url":"https://api.github.com/users/rust-bitcoin-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-bitcoin-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-bitcoin-tools/subscriptions","organizations_url":"https://api.github.com/users/rust-bitcoin-tools/orgs","repos_url":"https://api.github.com/users/rust-bitcoin-tools/repos","events_url":"https://api.github.com/users/rust-bitcoin-tools/events{/privacy}","received_events_url":"https://api.github.com/users/rust-bitcoin-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":148782348,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3ODIzNDg=","name":"bitcoinrpc_rust_client","full_name":"rust-bitcoin-tools/bitcoinrpc_rust_client","private":false,"owner":{"login":"rust-bitcoin-tools","id":43440083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDQwMDgz","avatar_url":"https://avatars1.githubusercontent.com/u/43440083?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-bitcoin-tools","html_url":"https://github.com/rust-bitcoin-tools","followers_url":"https://api.github.com/users/rust-bitcoin-tools/followers","following_url":"https://api.github.com/users/rust-bitcoin-tools/following{/other_user}","gists_url":"https://api.github.com/users/rust-bitcoin-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-bitcoin-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-bitcoin-tools/subscriptions","organizations_url":"https://api.github.com/users/rust-bitcoin-tools/orgs","repos_url":"https://api.github.com/users/rust-bitcoin-tools/repos","events_url":"https://api.github.com/users/rust-bitcoin-tools/events{/privacy}","received_events_url":"https://api.github.com/users/rust-bitcoin-tools/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rust-bitcoin-tools/bitcoinrpc_rust_client","description":"Rust client library for talking to Bitcoin Core nodes using JsonRPC.","fork":true,"url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client","forks_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/forks","keys_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/teams","hooks_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/hooks","issue_events_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/issues/events{/number}","events_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/events","assignees_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/assignees{/user}","branches_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/branches{/branch}","tags_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/tags","blobs_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/languages","stargazers_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/stargazers","contributors_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/contributors","subscribers_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/subscribers","subscription_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/subscription","commits_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/contents/{+path}","compare_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/merges","archive_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/downloads","issues_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/issues{/number}","pulls_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/labels{/name}","releases_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/releases{/id}","deployments_url":"https://api.github.com/repos/rust-bitcoin-tools/bitcoinrpc_rust_client/deployments","created_at":"2018-09-14T11:58:34Z","updated_at":"2018-09-26T10:05:54Z","pushed_at":"2018-10-23T03:39:54Z","git_url":"git://github.com/rust-bitcoin-tools/bitcoinrpc_rust_client.git","ssh_url":"git@github.com:rust-bitcoin-tools/bitcoinrpc_rust_client.git","clone_url":"https://github.com/rust-bitcoin-tools/bitcoinrpc_rust_client.git","svn_url":"https://github.com/rust-bitcoin-tools/bitcoinrpc_rust_client","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coblox:master","ref":"master","sha":"43d7532c796041bc4bcb622bdb711aae01649710","user":{"login":"coblox","id":38543647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTQzNjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/38543647?v=4","gravatar_id":"","url":"https://api.github.com/users/coblox","html_url":"https://github.com/coblox","followers_url":"https://api.github.com/users/coblox/followers","following_url":"https://api.github.com/users/coblox/following{/other_user}","gists_url":"https://api.github.com/users/coblox/gists{/gist_id}","starred_url":"https://api.github.com/users/coblox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coblox/subscriptions","organizations_url":"https://api.github.com/users/coblox/orgs","repos_url":"https://api.github.com/users/coblox/repos","events_url":"https://api.github.com/users/coblox/events{/privacy}","received_events_url":"https://api.github.com/users/coblox/received_events","type":"Organization","site_admin":false},"repo":{"id":145489725,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU0ODk3MjU=","name":"bitcoinrpc-rust-client","full_name":"coblox/bitcoinrpc-rust-client","private":false,"owner":{"login":"coblox","id":38543647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTQzNjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/38543647?v=4","gravatar_id":"","url":"https://api.github.com/users/coblox","html_url":"https://github.com/coblox","followers_url":"https://api.github.com/users/coblox/followers","following_url":"https://api.github.com/users/coblox/following{/other_user}","gists_url":"https://api.github.com/users/coblox/gists{/gist_id}","starred_url":"https://api.github.com/users/coblox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coblox/subscriptions","organizations_url":"https://api.github.com/users/coblox/orgs","repos_url":"https://api.github.com/users/coblox/repos","events_url":"https://api.github.com/users/coblox/events{/privacy}","received_events_url":"https://api.github.com/users/coblox/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coblox/bitcoinrpc-rust-client","description":"Rust client library for talking to Bitcoin Core nodes using JsonRPC.","fork":false,"url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client","forks_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/forks","keys_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/teams","hooks_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/hooks","issue_events_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/events{/number}","events_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/events","assignees_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/assignees{/user}","branches_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/branches{/branch}","tags_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/tags","blobs_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/statuses/{sha}","languages_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/languages","stargazers_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/stargazers","contributors_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/contributors","subscribers_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/subscribers","subscription_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/subscription","commits_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/contents/{+path}","compare_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/merges","archive_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/downloads","issues_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues{/number}","pulls_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls{/number}","milestones_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/milestones{/number}","notifications_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/labels{/name}","releases_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/releases{/id}","deployments_url":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/deployments","created_at":"2018-08-21T01:32:32Z","updated_at":"2018-10-23T06:19:52Z","pushed_at":"2018-10-23T06:30:33Z","git_url":"git://github.com/coblox/bitcoinrpc-rust-client.git","ssh_url":"git@github.com:coblox/bitcoinrpc-rust-client.git","clone_url":"https://github.com/coblox/bitcoinrpc-rust-client.git","svn_url":"https://github.com/coblox/bitcoinrpc-rust-client","homepage":null,"size":69,"stargazers_count":6,"watchers_count":6,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31"},"html":{"href":"https://github.com/coblox/bitcoinrpc-rust-client/pull/31"},"issue":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/31"},"comments":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/coblox/bitcoinrpc-rust-client/statuses/b96a567b9402bb9f1670aed8288d866123b250a0"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thomaseizinger","id":5486389,"node_id":"MDQ6VXNlcjU0ODYzODk=","avatar_url":"https://avatars1.githubusercontent.com/u/5486389?v=4","gravatar_id":"","url":"https://api.github.com/users/thomaseizinger","html_url":"https://github.com/thomaseizinger","followers_url":"https://api.github.com/users/thomaseizinger/followers","following_url":"https://api.github.com/users/thomaseizinger/following{/other_user}","gists_url":"https://api.github.com/users/thomaseizinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaseizinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaseizinger/subscriptions","organizations_url":"https://api.github.com/users/thomaseizinger/orgs","repos_url":"https://api.github.com/users/thomaseizinger/repos","events_url":"https://api.github.com/users/thomaseizinger/events{/privacy}","received_events_url":"https://api.github.com/users/thomaseizinger/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":2,"additions":17,"deletions":15,"changed_files":3}}
{"actor":{"display_login":"thomaseizinger"}}