{"action":"created","comment":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/comments/28653009","id":28653009,"diff_hunk":"@@ -48,6 +48,10 @@ std::string contentsString(std::string const& _file);\n /// Retrieve and returns the allocated contents of the given file. If the file doesn't exist or isn't readable, returns nullptr. Don't forget to delete [] when finished.\n bytesRef contentsNew(std::string const& _file, bytesRef _dest = bytesRef());","path":"libdevcore/CommonIO.h","position":2,"original_position":2,"commit_id":"cdf7a0cd53737417b0345941ff45c0edc3b04cc8","original_commit_id":"cdf7a0cd53737417b0345941ff45c0edc3b04cc8","user":{"login":"gavofyork","id":138296,"avatar_url":"https://avatars.githubusercontent.com/u/138296?v=3","gravatar_id":"","url":"https://api.github.com/users/gavofyork","html_url":"https://github.com/gavofyork","followers_url":"https://api.github.com/users/gavofyork/followers","following_url":"https://api.github.com/users/gavofyork/following{/other_user}","gists_url":"https://api.github.com/users/gavofyork/gists{/gist_id}","starred_url":"https://api.github.com/users/gavofyork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavofyork/subscriptions","organizations_url":"https://api.github.com/users/gavofyork/orgs","repos_url":"https://api.github.com/users/gavofyork/repos","events_url":"https://api.github.com/users/gavofyork/events{/privacy}","received_events_url":"https://api.github.com/users/gavofyork/received_events","type":"User","site_admin":false},"body":"this does the same as `contentsToBuffer` when passed a second param, except that it's size-safe.","created_at":"2015-04-19T13:55:00Z","updated_at":"2015-04-19T13:55:00Z","html_url":"https://github.com/ethereum/cpp-ethereum/pull/1653#discussion_r28653009","pull_request_url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653","_links":{"self":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/comments/28653009"},"html":{"href":"https://github.com/ethereum/cpp-ethereum/pull/1653#discussion_r28653009"},"pull_request":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653"}}},"pull_request":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653","id":33462323,"html_url":"https://github.com/ethereum/cpp-ethereum/pull/1653","diff_url":"https://github.com/ethereum/cpp-ethereum/pull/1653.diff","patch_url":"https://github.com/ethereum/cpp-ethereum/pull/1653.patch","issue_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/1653","number":1653,"state":"open","locked":false,"title":"various opencl related changes and a Blockchain.cpp bug fix","user":{"login":"Genoil","id":7251705,"avatar_url":"https://avatars.githubusercontent.com/u/7251705?v=3","gravatar_id":"","url":"https://api.github.com/users/Genoil","html_url":"https://github.com/Genoil","followers_url":"https://api.github.com/users/Genoil/followers","following_url":"https://api.github.com/users/Genoil/following{/other_user}","gists_url":"https://api.github.com/users/Genoil/gists{/gist_id}","starred_url":"https://api.github.com/users/Genoil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genoil/subscriptions","organizations_url":"https://api.github.com/users/Genoil/orgs","repos_url":"https://api.github.com/users/Genoil/repos","events_url":"https://api.github.com/users/Genoil/events{/privacy}","received_events_url":"https://api.github.com/users/Genoil/received_events","type":"User","site_admin":false},"body":"and some other stuff i thought i'd already gotten rid off. admittedly I'm terrible with git.","created_at":"2015-04-16T15:26:04Z","updated_at":"2015-04-19T13:55:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09c017bfe0a9af365aba7cb27b261e239cb1767c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653/commits","review_comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653/comments","review_comment_url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/1653/comments","statuses_url":"https://api.github.com/repos/ethereum/cpp-ethereum/statuses/cdf7a0cd53737417b0345941ff45c0edc3b04cc8","head":{"label":"Genoil:develop","ref":"develop","sha":"cdf7a0cd53737417b0345941ff45c0edc3b04cc8","user":{"login":"Genoil","id":7251705,"avatar_url":"https://avatars.githubusercontent.com/u/7251705?v=3","gravatar_id":"","url":"https://api.github.com/users/Genoil","html_url":"https://github.com/Genoil","followers_url":"https://api.github.com/users/Genoil/followers","following_url":"https://api.github.com/users/Genoil/following{/other_user}","gists_url":"https://api.github.com/users/Genoil/gists{/gist_id}","starred_url":"https://api.github.com/users/Genoil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genoil/subscriptions","organizations_url":"https://api.github.com/users/Genoil/orgs","repos_url":"https://api.github.com/users/Genoil/repos","events_url":"https://api.github.com/users/Genoil/events{/privacy}","received_events_url":"https://api.github.com/users/Genoil/received_events","type":"User","site_admin":false},"repo":{"id":34058049,"name":"cpp-ethereum","full_name":"Genoil/cpp-ethereum","owner":{"login":"Genoil","id":7251705,"avatar_url":"https://avatars.githubusercontent.com/u/7251705?v=3","gravatar_id":"","url":"https://api.github.com/users/Genoil","html_url":"https://github.com/Genoil","followers_url":"https://api.github.com/users/Genoil/followers","following_url":"https://api.github.com/users/Genoil/following{/other_user}","gists_url":"https://api.github.com/users/Genoil/gists{/gist_id}","starred_url":"https://api.github.com/users/Genoil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genoil/subscriptions","organizations_url":"https://api.github.com/users/Genoil/orgs","repos_url":"https://api.github.com/users/Genoil/repos","events_url":"https://api.github.com/users/Genoil/events{/privacy}","received_events_url":"https://api.github.com/users/Genoil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Genoil/cpp-ethereum","description":"Gavin Wood's C++ implementation of the Ethereum yellowpaper.","fork":true,"url":"https://api.github.com/repos/Genoil/cpp-ethereum","forks_url":"https://api.github.com/repos/Genoil/cpp-ethereum/forks","keys_url":"https://api.github.com/repos/Genoil/cpp-ethereum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Genoil/cpp-ethereum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Genoil/cpp-ethereum/teams","hooks_url":"https://api.github.com/repos/Genoil/cpp-ethereum/hooks","issue_events_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/events{/number}","events_url":"https://api.github.com/repos/Genoil/cpp-ethereum/events","assignees_url":"https://api.github.com/repos/Genoil/cpp-ethereum/assignees{/user}","branches_url":"https://api.github.com/repos/Genoil/cpp-ethereum/branches{/branch}","tags_url":"https://api.github.com/repos/Genoil/cpp-ethereum/tags","blobs_url":"https://api.github.com/repos/Genoil/cpp-ethereum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Genoil/cpp-ethereum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Genoil/cpp-ethereum/git/refs{/sha}","trees_url":"https://api.github.com/repos/Genoil/cpp-ethereum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Genoil/cpp-ethereum/statuses/{sha}","languages_url":"https://api.github.com/repos/Genoil/cpp-ethereum/languages","stargazers_url":"https://api.github.com/repos/Genoil/cpp-ethereum/stargazers","contributors_url":"https://api.github.com/repos/Genoil/cpp-ethereum/contributors","subscribers_url":"https://api.github.com/repos/Genoil/cpp-ethereum/subscribers","subscription_url":"https://api.github.com/repos/Genoil/cpp-ethereum/subscription","commits_url":"https://api.github.com/repos/Genoil/cpp-ethereum/commits{/sha}","git_commits_url":"https://api.github.com/repos/Genoil/cpp-ethereum/git/commits{/sha}","comments_url":"https://api.github.com/repos/Genoil/cpp-ethereum/comments{/number}","issue_comment_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/comments{/number}","contents_url":"https://api.github.com/repos/Genoil/cpp-ethereum/contents/{+path}","compare_url":"https://api.github.com/repos/Genoil/cpp-ethereum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Genoil/cpp-ethereum/merges","archive_url":"https://api.github.com/repos/Genoil/cpp-ethereum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Genoil/cpp-ethereum/downloads","issues_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues{/number}","pulls_url":"https://api.github.com/repos/Genoil/cpp-ethereum/pulls{/number}","milestones_url":"https://api.github.com/repos/Genoil/cpp-ethereum/milestones{/number}","notifications_url":"https://api.github.com/repos/Genoil/cpp-ethereum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Genoil/cpp-ethereum/labels{/name}","releases_url":"https://api.github.com/repos/Genoil/cpp-ethereum/releases{/id}","created_at":"2015-04-16T13:41:04Z","updated_at":"2015-04-17T10:43:24Z","pushed_at":"2015-04-17T10:43:24Z","git_url":"git://github.com/Genoil/cpp-ethereum.git","ssh_url":"git@github.com:Genoil/cpp-ethereum.git","clone_url":"https://github.com/Genoil/cpp-ethereum.git","svn_url":"https://github.com/Genoil/cpp-ethereum","homepage":"www.gavwood.com/Paper.pdf","size":19683,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ethereum:develop","ref":"develop","sha":"2ee8a6d26952a7d0bfcb75eb2a855af9be6c23c4","user":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":15460666,"name":"cpp-ethereum","full_name":"ethereum/cpp-ethereum","owner":{"login":"ethereum","id":6250754,"avatar_url":"https://avatars.githubusercontent.com/u/6250754?v=3","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ethereum/cpp-ethereum","description":"Gavin Wood's C++ implementation of the Ethereum yellowpaper.","fork":false,"url":"https://api.github.com/repos/ethereum/cpp-ethereum","forks_url":"https://api.github.com/repos/ethereum/cpp-ethereum/forks","keys_url":"https://api.github.com/repos/ethereum/cpp-ethereum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/cpp-ethereum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/cpp-ethereum/teams","hooks_url":"https://api.github.com/repos/ethereum/cpp-ethereum/hooks","issue_events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/events","assignees_url":"https://api.github.com/repos/ethereum/cpp-ethereum/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/cpp-ethereum/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/cpp-ethereum/tags","blobs_url":"https://api.github.com/repos/ethereum/cpp-ethereum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/cpp-ethereum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/cpp-ethereum/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/cpp-ethereum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/cpp-ethereum/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/cpp-ethereum/languages","stargazers_url":"https://api.github.com/repos/ethereum/cpp-ethereum/stargazers","contributors_url":"https://api.github.com/repos/ethereum/cpp-ethereum/contributors","subscribers_url":"https://api.github.com/repos/ethereum/cpp-ethereum/subscribers","subscription_url":"https://api.github.com/repos/ethereum/cpp-ethereum/subscription","commits_url":"https://api.github.com/repos/ethereum/cpp-ethereum/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/cpp-ethereum/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/cpp-ethereum/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/cpp-ethereum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/cpp-ethereum/merges","archive_url":"https://api.github.com/repos/ethereum/cpp-ethereum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/cpp-ethereum/downloads","issues_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/cpp-ethereum/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/cpp-ethereum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/cpp-ethereum/releases{/id}","created_at":"2013-12-26T21:26:06Z","updated_at":"2015-04-19T13:49:22Z","pushed_at":"2015-04-19T13:49:22Z","git_url":"git://github.com/ethereum/cpp-ethereum.git","ssh_url":"git@github.com:ethereum/cpp-ethereum.git","clone_url":"https://github.com/ethereum/cpp-ethereum.git","svn_url":"https://github.com/ethereum/cpp-ethereum","homepage":"www.gavwood.com/Paper.pdf","size":93670,"stargazers_count":453,"watchers_count":453,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":149,"forks":155,"open_issues":149,"watchers":453,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653"},"html":{"href":"https://github.com/ethereum/cpp-ethereum/pull/1653"},"issue":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/1653"},"comments":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/1653/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/1653/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/cpp-ethereum/statuses/cdf7a0cd53737417b0345941ff45c0edc3b04cc8"}}}}