{"action":"created","comment":{"url":"https://api.github.com/repos/bitcoin/bips/pulls/comments/44931548","id":44931548,"diff_hunk":"@@ -0,0 +1,67 @@\n+<pre>\n+  BIP: MarcoPon-01\n+  Title: URI scheme for Blockchain references / exploration\n+  Author: Marco Pontello <marcopon@gmail.com>\n+  Status: Draft\n+  Type: Standards Track\n+  Created: 29 August 2015\n+</pre>\n+\n+==Abstract==\n+\n+This BIP propose an URI scheme for looking up blocks, transactions, addresses on a Blockchain explorer, or in general to make proper Blockchain references\n+\n+==Motivation==\n+\n+The purpose of this URI scheme is to enable users to handle all the requests for details about blocks, transactions, etc. with their preferred tool (being that a web service or a local application).\n+Currently a Bitcoin client usually point to an arbitrary blockchain explorer when the user look for the details of a transaction (es. Bitcoin Wallet use BitEasy, Mycelium or Electrum use Blockchain.info, etc.).\n+Other times resorting to cut&paste is needed.\n+The same happens with posts and messages that reference some particular txs or blocks, if they provide links at all.\n+\n+==Specification==\n+\n+The URI follow this simple form:\n+\n+ <nowiki>blockchain:[//chain]</type/hash></nowiki>\n+\n+Where:\n+\n+;chain:\n+: (optional) to uniquely point to a specific chain, the hash of the corresponding genesis block is used (see [http://https://github.com/jtimon/bitcoin/commit/3191d5e8e75687a27cf466b7a4c70bdc04809d39 Bitcoin src/chainparams.cpp]). In principle some kind of alias/mnemonic could also be used, but that is out of the scope of this BIP, and maybe could be developed in another subsequent one.","path":"bip-MarcoPon-01.mediawiki","position":null,"original_position":30,"commit_id":"349c4c958f15ba18be075576e7e847aaeb6795ce","original_commit_id":"dd911a419abbc9fb2a17bbe5dfca92c652bd723d","user":{"login":"jtimon","id":1008458,"avatar_url":"https://avatars.githubusercontent.com/u/1008458?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimon","html_url":"https://github.com/jtimon","followers_url":"https://api.github.com/users/jtimon/followers","following_url":"https://api.github.com/users/jtimon/following{/other_user}","gists_url":"https://api.github.com/users/jtimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimon/subscriptions","organizations_url":"https://api.github.com/users/jtimon/orgs","repos_url":"https://api.github.com/users/jtimon/repos","events_url":"https://api.github.com/users/jtimon/events{/privacy}","received_events_url":"https://api.github.com/users/jtimon/received_events","type":"User","site_admin":false},"body":"Copied from ml (awaiting moderation):\r\n\r\nYes, sorry about the link. I guess you can point to #6230 . I can\r\nrebase it if needed but I would close it again because I don't want to\r\nhave too many things from #6382 opened at the same time (is noisy and\r\nworse for review). My plan was to not open it independently at least\r\nuntil after #6907 (and actually after 0.12 assuming #6907 gets in by\r\n0.12). But then I would maybe open a new one and reference the old one\r\nrather than reopening #6230 (which tends to be confusing).\r\nI'm not really sure what's the best answer here...but #6382 is\r\ncertainly going to need rebase and the link will be broken again.\r\nMaybe one answer is to copy some text from #6230 or the commit and add\r\nit directly to the BIP instead of referencing to that commit (which\r\nwill be, at least until #6907 is merged, a moving target).\r\n","created_at":"2015-11-16T14:53:44Z","updated_at":"2015-11-16T14:53:44Z","html_url":"https://github.com/bitcoin/bips/pull/202#discussion_r44931548","pull_request_url":"https://api.github.com/repos/bitcoin/bips/pulls/202","_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/comments/44931548"},"html":{"href":"https://github.com/bitcoin/bips/pull/202#discussion_r44931548"},"pull_request":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/202"}}},"pull_request":{"url":"https://api.github.com/repos/bitcoin/bips/pulls/202","id":45480673,"html_url":"https://github.com/bitcoin/bips/pull/202","diff_url":"https://github.com/bitcoin/bips/pull/202.diff","patch_url":"https://github.com/bitcoin/bips/pull/202.patch","issue_url":"https://api.github.com/repos/bitcoin/bips/issues/202","number":202,"state":"open","locked":false,"title":"BIP MarcoPon-01: URI scheme for Blockchain references / exploration","user":{"login":"MarcoPon","id":10859367,"avatar_url":"https://avatars.githubusercontent.com/u/10859367?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoPon","html_url":"https://github.com/MarcoPon","followers_url":"https://api.github.com/users/MarcoPon/followers","following_url":"https://api.github.com/users/MarcoPon/following{/other_user}","gists_url":"https://api.github.com/users/MarcoPon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoPon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoPon/subscriptions","organizations_url":"https://api.github.com/users/MarcoPon/orgs","repos_url":"https://api.github.com/users/MarcoPon/repos","events_url":"https://api.github.com/users/MarcoPon/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoPon/received_events","type":"User","site_admin":false},"body":"New BIP: URI scheme for Blockchain references / exploration (as discussed on bitcoin-dev mailing list). Trying to follow what @gmaxwell recently proposed on bitcoin-dev, for proposing a new BIP and obtaining a number. But I'm not so used to collaboration via Github, so apologies in advance for any \"bitcointiquette\" mistakes.","created_at":"2015-09-19T17:27:55Z","updated_at":"2015-11-16T14:53:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8b71b3b950541b800044e98f55d0e3201743357","assignee":{"login":"gmaxwell","id":858454,"avatar_url":"https://avatars.githubusercontent.com/u/858454?v=3","gravatar_id":"","url":"https://api.github.com/users/gmaxwell","html_url":"https://github.com/gmaxwell","followers_url":"https://api.github.com/users/gmaxwell/followers","following_url":"https://api.github.com/users/gmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/gmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmaxwell/subscriptions","organizations_url":"https://api.github.com/users/gmaxwell/orgs","repos_url":"https://api.github.com/users/gmaxwell/repos","events_url":"https://api.github.com/users/gmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/gmaxwell/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/bitcoin/bips/pulls/202/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bips/pulls/202/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bips/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bips/issues/202/comments","statuses_url":"https://api.github.com/repos/bitcoin/bips/statuses/349c4c958f15ba18be075576e7e847aaeb6795ce","head":{"label":"MarcoPon:master","ref":"master","sha":"349c4c958f15ba18be075576e7e847aaeb6795ce","user":{"login":"MarcoPon","id":10859367,"avatar_url":"https://avatars.githubusercontent.com/u/10859367?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoPon","html_url":"https://github.com/MarcoPon","followers_url":"https://api.github.com/users/MarcoPon/followers","following_url":"https://api.github.com/users/MarcoPon/following{/other_user}","gists_url":"https://api.github.com/users/MarcoPon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoPon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoPon/subscriptions","organizations_url":"https://api.github.com/users/MarcoPon/orgs","repos_url":"https://api.github.com/users/MarcoPon/repos","events_url":"https://api.github.com/users/MarcoPon/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoPon/received_events","type":"User","site_admin":false},"repo":{"id":42782476,"name":"bips","full_name":"MarcoPon/bips","owner":{"login":"MarcoPon","id":10859367,"avatar_url":"https://avatars.githubusercontent.com/u/10859367?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoPon","html_url":"https://github.com/MarcoPon","followers_url":"https://api.github.com/users/MarcoPon/followers","following_url":"https://api.github.com/users/MarcoPon/following{/other_user}","gists_url":"https://api.github.com/users/MarcoPon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoPon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoPon/subscriptions","organizations_url":"https://api.github.com/users/MarcoPon/orgs","repos_url":"https://api.github.com/users/MarcoPon/repos","events_url":"https://api.github.com/users/MarcoPon/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoPon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarcoPon/bips","description":"Bitcoin Improvement Proposals","fork":true,"url":"https://api.github.com/repos/MarcoPon/bips","forks_url":"https://api.github.com/repos/MarcoPon/bips/forks","keys_url":"https://api.github.com/repos/MarcoPon/bips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcoPon/bips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcoPon/bips/teams","hooks_url":"https://api.github.com/repos/MarcoPon/bips/hooks","issue_events_url":"https://api.github.com/repos/MarcoPon/bips/issues/events{/number}","events_url":"https://api.github.com/repos/MarcoPon/bips/events","assignees_url":"https://api.github.com/repos/MarcoPon/bips/assignees{/user}","branches_url":"https://api.github.com/repos/MarcoPon/bips/branches{/branch}","tags_url":"https://api.github.com/repos/MarcoPon/bips/tags","blobs_url":"https://api.github.com/repos/MarcoPon/bips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcoPon/bips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcoPon/bips/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcoPon/bips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcoPon/bips/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcoPon/bips/languages","stargazers_url":"https://api.github.com/repos/MarcoPon/bips/stargazers","contributors_url":"https://api.github.com/repos/MarcoPon/bips/contributors","subscribers_url":"https://api.github.com/repos/MarcoPon/bips/subscribers","subscription_url":"https://api.github.com/repos/MarcoPon/bips/subscription","commits_url":"https://api.github.com/repos/MarcoPon/bips/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcoPon/bips/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcoPon/bips/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcoPon/bips/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarcoPon/bips/contents/{+path}","compare_url":"https://api.github.com/repos/MarcoPon/bips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcoPon/bips/merges","archive_url":"https://api.github.com/repos/MarcoPon/bips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcoPon/bips/downloads","issues_url":"https://api.github.com/repos/MarcoPon/bips/issues{/number}","pulls_url":"https://api.github.com/repos/MarcoPon/bips/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcoPon/bips/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcoPon/bips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcoPon/bips/labels{/name}","releases_url":"https://api.github.com/repos/MarcoPon/bips/releases{/id}","created_at":"2015-09-19T17:23:41Z","updated_at":"2015-09-19T17:23:42Z","pushed_at":"2015-11-16T00:16:18Z","git_url":"git://github.com/MarcoPon/bips.git","ssh_url":"git@github.com:MarcoPon/bips.git","clone_url":"https://github.com/MarcoPon/bips.git","svn_url":"https://github.com/MarcoPon/bips","homepage":"bitcoin.org","size":1213,"stargazers_count":0,"watchers_count":0,"language":"Protocol Buffer","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitcoin:master","ref":"master","sha":"a0837d35c65b4165f472a7e7af70b4f98722e50c","user":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","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":14531737,"name":"bips","full_name":"bitcoin/bips","owner":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","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/bips","description":"Bitcoin Improvement Proposals","fork":true,"url":"https://api.github.com/repos/bitcoin/bips","forks_url":"https://api.github.com/repos/bitcoin/bips/forks","keys_url":"https://api.github.com/repos/bitcoin/bips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoin/bips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoin/bips/teams","hooks_url":"https://api.github.com/repos/bitcoin/bips/hooks","issue_events_url":"https://api.github.com/repos/bitcoin/bips/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoin/bips/events","assignees_url":"https://api.github.com/repos/bitcoin/bips/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoin/bips/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoin/bips/tags","blobs_url":"https://api.github.com/repos/bitcoin/bips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoin/bips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoin/bips/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoin/bips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoin/bips/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoin/bips/languages","stargazers_url":"https://api.github.com/repos/bitcoin/bips/stargazers","contributors_url":"https://api.github.com/repos/bitcoin/bips/contributors","subscribers_url":"https://api.github.com/repos/bitcoin/bips/subscribers","subscription_url":"https://api.github.com/repos/bitcoin/bips/subscription","commits_url":"https://api.github.com/repos/bitcoin/bips/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoin/bips/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoin/bips/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoin/bips/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoin/bips/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoin/bips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoin/bips/merges","archive_url":"https://api.github.com/repos/bitcoin/bips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoin/bips/downloads","issues_url":"https://api.github.com/repos/bitcoin/bips/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoin/bips/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoin/bips/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoin/bips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoin/bips/labels{/name}","releases_url":"https://api.github.com/repos/bitcoin/bips/releases{/id}","created_at":"2013-11-19T17:18:41Z","updated_at":"2015-11-14T07:41:47Z","pushed_at":"2015-11-16T00:16:18Z","git_url":"git://github.com/bitcoin/bips.git","ssh_url":"git@github.com:bitcoin/bips.git","clone_url":"https://github.com/bitcoin/bips.git","svn_url":"https://github.com/bitcoin/bips","homepage":"bitcoin.org","size":3868,"stargazers_count":433,"watchers_count":433,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":252,"mirror_url":null,"open_issues_count":19,"forks":252,"open_issues":19,"watchers":433,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/202"},"html":{"href":"https://github.com/bitcoin/bips/pull/202"},"issue":{"href":"https://api.github.com/repos/bitcoin/bips/issues/202"},"comments":{"href":"https://api.github.com/repos/bitcoin/bips/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/202/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bips/pulls/202/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bips/statuses/349c4c958f15ba18be075576e7e847aaeb6795ce"}}}}