{"action":"created","comment":{"url":"https://api.github.com/repos/maidsafe/rfcs/pulls/comments/40415496","id":40415496,"diff_hunk":"@@ -0,0 +1,82 @@\n+- Feature Name: Improved Connection Management\n+- Type: Enhancement\n+- Related Components: routing, crust\n+- Start Date: 23-09-2015\n+- RFC PR: (leave this empty)\n+- Issue Number: (leave this empty)\n+\n+# Summary\n+\n+Introduce the notion of clearly defined connection phases and establish directed routing network connections in conjunction with crust.\n+\n+# Motivation\n+\n+Both outgoing and incoming connections are created to peers with unknown direction. Use the connect/accept connection code available from crust to store timed state in-line with crust connection handling changes for connections in either direction. This will allow us to determine unambiguously who the connection initiator is and act accordingly.","path":"proposed/0008-Connection_management.md","position":14,"original_position":14,"commit_id":"e2498cc01dc775ee19a7560f53f74afcdf04bdda","original_commit_id":"e2498cc01dc775ee19a7560f53f74afcdf04bdda","user":{"login":"brian-js","id":623265,"avatar_url":"https://avatars.githubusercontent.com/u/623265?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-js","html_url":"https://github.com/brian-js","followers_url":"https://api.github.com/users/brian-js/followers","following_url":"https://api.github.com/users/brian-js/following{/other_user}","gists_url":"https://api.github.com/users/brian-js/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-js/subscriptions","organizations_url":"https://api.github.com/users/brian-js/orgs","repos_url":"https://api.github.com/users/brian-js/repos","events_url":"https://api.github.com/users/brian-js/events{/privacy}","received_events_url":"https://api.github.com/users/brian-js/received_events","type":"User","site_admin":false},"body":"Agreed on the explanation.","created_at":"2015-09-25T10:00:13Z","updated_at":"2015-09-25T10:00:13Z","html_url":"https://github.com/maidsafe/rfcs/pull/44#discussion_r40415496","pull_request_url":"https://api.github.com/repos/maidsafe/rfcs/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/comments/40415496"},"html":{"href":"https://github.com/maidsafe/rfcs/pull/44#discussion_r40415496"},"pull_request":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/maidsafe/rfcs/pulls/44","id":45954368,"html_url":"https://github.com/maidsafe/rfcs/pull/44","diff_url":"https://github.com/maidsafe/rfcs/pull/44.diff","patch_url":"https://github.com/maidsafe/rfcs/pull/44.patch","issue_url":"https://api.github.com/repos/maidsafe/rfcs/issues/44","number":44,"state":"open","locked":false,"title":"WIP: Connection management proposal.","user":{"login":"brian-js","id":623265,"avatar_url":"https://avatars.githubusercontent.com/u/623265?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-js","html_url":"https://github.com/brian-js","followers_url":"https://api.github.com/users/brian-js/followers","following_url":"https://api.github.com/users/brian-js/following{/other_user}","gists_url":"https://api.github.com/users/brian-js/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-js/subscriptions","organizations_url":"https://api.github.com/users/brian-js/orgs","repos_url":"https://api.github.com/users/brian-js/repos","events_url":"https://api.github.com/users/brian-js/events{/privacy}","received_events_url":"https://api.github.com/users/brian-js/received_events","type":"User","site_admin":false},"body":"\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/maidsafe/rfcs/44)\n<!-- Reviewable:end -->\n","created_at":"2015-09-24T21:49:19Z","updated_at":"2015-09-25T10:00:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"174605b8639cd1f6043f1398a7471fc7a10fb4dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maidsafe/rfcs/pulls/44/commits","review_comments_url":"https://api.github.com/repos/maidsafe/rfcs/pulls/44/comments","review_comment_url":"https://api.github.com/repos/maidsafe/rfcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maidsafe/rfcs/issues/44/comments","statuses_url":"https://api.github.com/repos/maidsafe/rfcs/statuses/e2498cc01dc775ee19a7560f53f74afcdf04bdda","head":{"label":"brian-js:connection_management","ref":"connection_management","sha":"e2498cc01dc775ee19a7560f53f74afcdf04bdda","user":{"login":"brian-js","id":623265,"avatar_url":"https://avatars.githubusercontent.com/u/623265?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-js","html_url":"https://github.com/brian-js","followers_url":"https://api.github.com/users/brian-js/followers","following_url":"https://api.github.com/users/brian-js/following{/other_user}","gists_url":"https://api.github.com/users/brian-js/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-js/subscriptions","organizations_url":"https://api.github.com/users/brian-js/orgs","repos_url":"https://api.github.com/users/brian-js/repos","events_url":"https://api.github.com/users/brian-js/events{/privacy}","received_events_url":"https://api.github.com/users/brian-js/received_events","type":"User","site_admin":false},"repo":{"id":42893565,"name":"rfcs","full_name":"brian-js/rfcs","owner":{"login":"brian-js","id":623265,"avatar_url":"https://avatars.githubusercontent.com/u/623265?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-js","html_url":"https://github.com/brian-js","followers_url":"https://api.github.com/users/brian-js/followers","following_url":"https://api.github.com/users/brian-js/following{/other_user}","gists_url":"https://api.github.com/users/brian-js/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-js/subscriptions","organizations_url":"https://api.github.com/users/brian-js/orgs","repos_url":"https://api.github.com/users/brian-js/repos","events_url":"https://api.github.com/users/brian-js/events{/privacy}","received_events_url":"https://api.github.com/users/brian-js/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brian-js/rfcs","description":"Request for Comment (RFC) papers and discussions on Project SAFE core libraries and API's","fork":true,"url":"https://api.github.com/repos/brian-js/rfcs","forks_url":"https://api.github.com/repos/brian-js/rfcs/forks","keys_url":"https://api.github.com/repos/brian-js/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brian-js/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brian-js/rfcs/teams","hooks_url":"https://api.github.com/repos/brian-js/rfcs/hooks","issue_events_url":"https://api.github.com/repos/brian-js/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/brian-js/rfcs/events","assignees_url":"https://api.github.com/repos/brian-js/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/brian-js/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/brian-js/rfcs/tags","blobs_url":"https://api.github.com/repos/brian-js/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brian-js/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brian-js/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/brian-js/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brian-js/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/brian-js/rfcs/languages","stargazers_url":"https://api.github.com/repos/brian-js/rfcs/stargazers","contributors_url":"https://api.github.com/repos/brian-js/rfcs/contributors","subscribers_url":"https://api.github.com/repos/brian-js/rfcs/subscribers","subscription_url":"https://api.github.com/repos/brian-js/rfcs/subscription","commits_url":"https://api.github.com/repos/brian-js/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/brian-js/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/brian-js/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/brian-js/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/brian-js/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/brian-js/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brian-js/rfcs/merges","archive_url":"https://api.github.com/repos/brian-js/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brian-js/rfcs/downloads","issues_url":"https://api.github.com/repos/brian-js/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/brian-js/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/brian-js/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/brian-js/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brian-js/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/brian-js/rfcs/releases{/id}","created_at":"2015-09-21T21:04:23Z","updated_at":"2015-09-12T17:09:09Z","pushed_at":"2015-09-25T09:52:35Z","git_url":"git://github.com/brian-js/rfcs.git","ssh_url":"git@github.com:brian-js/rfcs.git","clone_url":"https://github.com/brian-js/rfcs.git","svn_url":"https://github.com/brian-js/rfcs","homepage":"","size":157,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"maidsafe:master","ref":"master","sha":"ef79d1f9c3717cd7dcd8a3e696fc2802677e8728","user":{"login":"maidsafe","id":536423,"avatar_url":"https://avatars.githubusercontent.com/u/536423?v=3","gravatar_id":"","url":"https://api.github.com/users/maidsafe","html_url":"https://github.com/maidsafe","followers_url":"https://api.github.com/users/maidsafe/followers","following_url":"https://api.github.com/users/maidsafe/following{/other_user}","gists_url":"https://api.github.com/users/maidsafe/gists{/gist_id}","starred_url":"https://api.github.com/users/maidsafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidsafe/subscriptions","organizations_url":"https://api.github.com/users/maidsafe/orgs","repos_url":"https://api.github.com/users/maidsafe/repos","events_url":"https://api.github.com/users/maidsafe/events{/privacy}","received_events_url":"https://api.github.com/users/maidsafe/received_events","type":"Organization","site_admin":false},"repo":{"id":37366263,"name":"rfcs","full_name":"maidsafe/rfcs","owner":{"login":"maidsafe","id":536423,"avatar_url":"https://avatars.githubusercontent.com/u/536423?v=3","gravatar_id":"","url":"https://api.github.com/users/maidsafe","html_url":"https://github.com/maidsafe","followers_url":"https://api.github.com/users/maidsafe/followers","following_url":"https://api.github.com/users/maidsafe/following{/other_user}","gists_url":"https://api.github.com/users/maidsafe/gists{/gist_id}","starred_url":"https://api.github.com/users/maidsafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidsafe/subscriptions","organizations_url":"https://api.github.com/users/maidsafe/orgs","repos_url":"https://api.github.com/users/maidsafe/repos","events_url":"https://api.github.com/users/maidsafe/events{/privacy}","received_events_url":"https://api.github.com/users/maidsafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maidsafe/rfcs","description":"Request for Comment (RFC) papers and discussions on Project SAFE core libraries and API's","fork":false,"url":"https://api.github.com/repos/maidsafe/rfcs","forks_url":"https://api.github.com/repos/maidsafe/rfcs/forks","keys_url":"https://api.github.com/repos/maidsafe/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maidsafe/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maidsafe/rfcs/teams","hooks_url":"https://api.github.com/repos/maidsafe/rfcs/hooks","issue_events_url":"https://api.github.com/repos/maidsafe/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/maidsafe/rfcs/events","assignees_url":"https://api.github.com/repos/maidsafe/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/maidsafe/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/maidsafe/rfcs/tags","blobs_url":"https://api.github.com/repos/maidsafe/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maidsafe/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maidsafe/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/maidsafe/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maidsafe/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/maidsafe/rfcs/languages","stargazers_url":"https://api.github.com/repos/maidsafe/rfcs/stargazers","contributors_url":"https://api.github.com/repos/maidsafe/rfcs/contributors","subscribers_url":"https://api.github.com/repos/maidsafe/rfcs/subscribers","subscription_url":"https://api.github.com/repos/maidsafe/rfcs/subscription","commits_url":"https://api.github.com/repos/maidsafe/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/maidsafe/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/maidsafe/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/maidsafe/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/maidsafe/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/maidsafe/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maidsafe/rfcs/merges","archive_url":"https://api.github.com/repos/maidsafe/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maidsafe/rfcs/downloads","issues_url":"https://api.github.com/repos/maidsafe/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/maidsafe/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/maidsafe/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/maidsafe/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maidsafe/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/maidsafe/rfcs/releases{/id}","created_at":"2015-06-13T09:50:34Z","updated_at":"2015-09-12T17:09:09Z","pushed_at":"2015-09-25T09:52:39Z","git_url":"git://github.com/maidsafe/rfcs.git","ssh_url":"git@github.com:maidsafe/rfcs.git","clone_url":"https://github.com/maidsafe/rfcs.git","svn_url":"https://github.com/maidsafe/rfcs","homepage":"","size":659,"stargazers_count":10,"watchers_count":10,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":17,"forks":20,"open_issues":17,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/44"},"html":{"href":"https://github.com/maidsafe/rfcs/pull/44"},"issue":{"href":"https://api.github.com/repos/maidsafe/rfcs/issues/44"},"comments":{"href":"https://api.github.com/repos/maidsafe/rfcs/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maidsafe/rfcs/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/maidsafe/rfcs/statuses/e2498cc01dc775ee19a7560f53f74afcdf04bdda"}}}}